Skip to content

Commit

Permalink
inactivate openings on cell when menu is open #325
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyanyan committed Sep 5, 2024
1 parent dfd3a24 commit 6d4104b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/main_scene.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class Main_scene : public App::Scene {
draw_info(getData().colors, getData().history_elem, getData().fonts, getData().menu_elements, pausing_in_pass, principal_variation);

// opening on cell drawing
if (getData().menu_elements.show_opening_on_cell) {
if (getData().menu_elements.show_opening_on_cell && !getData().menu.active()) {
draw_opening_on_cell();
}

Expand Down

0 comments on commit 6d4104b

Please sign in to comment.