mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
GameOfLife: Don't toggle cells on mouse move when placing patterns
Previously, it was very easy to inadvertently toggle cells when placing a pattern by dragging the mouse slightly.
This commit is contained in:
parent
6eaae726fa
commit
12adaac08d
3 changed files with 5 additions and 2 deletions
|
@ -84,6 +84,7 @@ private:
|
|||
NonnullOwnPtr<Board> m_board;
|
||||
|
||||
bool m_running { false };
|
||||
bool m_dragging_enabled { true };
|
||||
|
||||
int m_running_timer_interval { 500 };
|
||||
int m_running_pattern_preview_timer_interval { 100 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue