1
Fork 0
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:
Joshua Gollaher 2021-06-05 00:40:53 -05:00 committed by Andreas Kling
parent af48a066c6
commit eea95c4532
2 changed files with 27 additions and 10 deletions

View file

@ -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));