fix: set minimize visibility true with enable (#38860)
This commit is contained in:
parent
e73edb5481
commit
ce6fe040fe
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ void WinCaptionButtonContainer::UpdateButtons() {
|
|||
|
||||
const bool minimizable = frame_view_->window()->IsMinimizable();
|
||||
minimize_button_->SetEnabled(minimizable);
|
||||
minimize_button_->SetVisible(minimizable);
|
||||
|
||||
// In touch mode, windows cannot be taken out of fullscreen or tiled mode, so
|
||||
// the maximize/restore button should be disabled.
|
||||
|
|
Loading…
Reference in a new issue