win32: refresh title bar on Window::set_theme

This commit is contained in:
Tony 2025-08-23 20:55:54 +08:00 committed by GitHub
parent 317d62fb93
commit a4af50ec13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 37 additions and 12 deletions

View file

@ -257,3 +257,5 @@ changelog entry.
- On macOS, don't panic on monitors with unknown bit-depths.
- On macOS, fixed crash when closing the window on macOS 26+.
- On Windows, account for mouse wheel lines per scroll setting for `WindowEvent::MouseWheel`.
- On Windows, `Window::theme` will return the correct theme after setting it through `Window::set_theme`.
- On Windows, `Window::set_theme` will change the title bar color immediately now.