generated from GarandPLG/rust-flake-template
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:
1 parent
ec4c68364d
commit
e3c3ad96e3
2 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user