Doc inverted-color-scheme-changed event
This commit is contained in:
parent
8b16b82ce9
commit
af27c62b07
2 changed files with 9 additions and 2 deletions
|
@ -110,8 +110,8 @@ LRESULT CALLBACK SystemPreferences::WndProc(HWND hwnd,
|
|||
void SystemPreferences::OnColorChanged() {
|
||||
bool new_invertered_color_scheme = IsInvertedColorScheme();
|
||||
if (new_invertered_color_scheme != invertered_color_scheme_) {
|
||||
Emit("inverted-color-scheme-changed", new_invertered_color_scheme);
|
||||
invertered_color_scheme_ = new_invertered_color_scheme;
|
||||
Emit("inverted-color-scheme-changed", new_invertered_color_scheme);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue