mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
Chess: Remove 1:1 window aspect ratio
This commit is contained in:
parent
af48a066c6
commit
eea95c4532
2 changed files with 27 additions and 10 deletions
|
@ -67,7 +67,6 @@ int main(int argc, char** argv)
|
|||
window->set_title("Chess");
|
||||
window->set_base_size({ 4, 4 });
|
||||
window->set_size_increment({ 8, 8 });
|
||||
window->set_resize_aspect_ratio(1, 1);
|
||||
window->resize(size - 4, size - 4);
|
||||
|
||||
window->set_icon(app_icon.bitmap_for_size(16));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue