mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
This is not only easier to comprehend code-wise and avoids some function overloads, but also makes resizing the board while preserving game state *a lot* easier. We now no longer have to allocate a new board on every resize, we just grow/shrink the individual row vectors. Also fixes a crash when clicking the board widget outside of the drawn board area.
2.6 KiB
2.6 KiB