Skip to content

Commit

Permalink
Ctrl+A now selects all selectable items while in rope select mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Nov 17, 2020
1 parent 0834bcd commit 15cfaf3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/view/design.dart
Original file line number Diff line number Diff line change
Expand Up @@ -523,9 +523,7 @@ class DesignViewComponent {
}

// Ctrl+A for select all
if ((ev.ctrlKey || ev.metaKey) &&
key == KeyCode.A &&
app.state.ui_state.edit_modes.contains(EditModeChoice.select)) {
if ((ev.ctrlKey || ev.metaKey) && key == KeyCode.A && edit_mode_is_select_or_rope_select()) {
ev.preventDefault();
app.dispatch(actions.SelectAllSelectable());
}
Expand Down

0 comments on commit 15cfaf3

Please sign in to comment.