mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
MasterWord: Rectify resizing game window
Previously resizing the window did not take into account the height of the status bar. The board now fixes its size on reset and allows the Window to auto shrink to the perfect dimensions.
This commit is contained in:
parent
b8d88f33cf
commit
76d17e6a8e
3 changed files with 4 additions and 6 deletions
|
@ -48,6 +48,7 @@ void WordGame::reset()
|
|||
reset();
|
||||
}
|
||||
}
|
||||
set_fixed_size(game_size());
|
||||
clear_message();
|
||||
update();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue