Add delete flag to end_marking_cells

Pass true when handling the Delete action and false for normal cleanup,
updating all call sites to use the new boolean parameter.
This commit is contained in:
GarandPLG committed 2026-05-19 13:24:33 +02:00
1 parent ec4c68364d
commit e3c3ad96e3
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ pub fn skirmish_keybindings(app: &mut App, key_event: &KeyEvent) {
Action::Backspace => board.pop_marked_cell(),
Action::Delete => {
board.marked_cells.marking_cells = false;
board.end_marking_cells()
board.end_marking_cells(true)
}
Action::Tab => {
states.skirmish.side_panel = !states.skirmish.side_panel;