mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
parent
41ee5136f4
commit
8aa201ff06
6 changed files with 37 additions and 0 deletions
|
|
@ -7138,6 +7138,11 @@ nsWindow::OnSysColorChanged()
|
|||
// so all presentations get notified properly.
|
||||
// See nsWindow::GlobalMsgWindowProc.
|
||||
NotifySysColorChanged();
|
||||
// On Windows 10 only, we trigger a theme change to pick up changed media
|
||||
// queries that are needed for accent color changes.
|
||||
if (IsWin10OrLater()) {
|
||||
NotifyThemeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue