mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
GameOfLife: Don't randomize cells on board resize
Loosing all game state for a simple resize of the board is quite disappointing, so let's not do that. :^)
This commit is contained in:
parent
7dea3d41cb
commit
d7c0370c57
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@ int main(int argc, char** argv)
|
|||
auto size_changed_function = [&] {
|
||||
statusbar.set_text(click_tip);
|
||||
board_widget.resize_board(rows_spinbox.value(), columns_spinbox.value());
|
||||
board_widget.randomize_cells();
|
||||
board_widget.update();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue