mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: WCO pressed background state updates (#34771)
This commit is contained in:
@@ -46,6 +46,9 @@ class WinCaptionButtonContainer : public views::View,
|
||||
// time, and both are disabled in tablet UI mode.
|
||||
void UpdateButtons();
|
||||
|
||||
// Reset window button states to STATE_NORMAL.
|
||||
void ResetWindowControls();
|
||||
|
||||
private:
|
||||
// views::View:
|
||||
void AddedToWidget() override;
|
||||
@@ -55,8 +58,6 @@ class WinCaptionButtonContainer : public views::View,
|
||||
void OnWidgetBoundsChanged(views::Widget* widget,
|
||||
const gfx::Rect& new_bounds) override;
|
||||
|
||||
void ResetWindowControls();
|
||||
|
||||
WinFrameView* const frame_view_;
|
||||
WinCaptionButton* const minimize_button_;
|
||||
WinCaptionButton* const maximize_button_;
|
||||
|
||||
Reference in New Issue
Block a user