diff options
Diffstat (limited to 'Userland/Games/GameOfLife/BoardWidget.cpp')
-rw-r--r-- | Userland/Games/GameOfLife/BoardWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/GameOfLife/BoardWidget.cpp b/Userland/Games/GameOfLife/BoardWidget.cpp index 06da25be5b..09000b4aa1 100644 --- a/Userland/Games/GameOfLife/BoardWidget.cpp +++ b/Userland/Games/GameOfLife/BoardWidget.cpp @@ -168,7 +168,7 @@ void BoardWidget::paint_event(GUI::PaintEvent& event) void BoardWidget::mousedown_event(GUI::MouseEvent& event) { - if (event.button() == GUI::MouseButton::Left) { + if (event.button() == GUI::MouseButton::Primary) { set_toggling_cells(true); auto row_and_column = get_row_and_column_for_point(event.x(), event.y()); if (!row_and_column.has_value()) |