mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: propagate preferred color scheme to the renderer (#22896)
* fix: do not crash if the window is closed syncronously with a nativeTheme change * fix: propogate preferred color scheme to the renderer and keep it up to date
This commit is contained in:
@@ -150,7 +150,7 @@ class NativeWindowMac : public NativeWindow, public ui::NativeThemeObserver {
|
||||
void SetWindowLevel(int level);
|
||||
|
||||
// Custom traffic light positioning
|
||||
void RedrawTrafficLights();
|
||||
void RedrawTrafficLights() override;
|
||||
void SetExitingFullScreen(bool flag);
|
||||
void SetTrafficLightPosition(const gfx::Point& position) override;
|
||||
gfx::Point GetTrafficLightPosition() const override;
|
||||
|
||||
Reference in New Issue
Block a user