Skip to content

Commit

Permalink
make shortcut global
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-castro committed Jun 21, 2021
1 parent a7d11a6 commit 158b83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neuroglancer/ui/default_input_event_bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export function getDefaultGlobalBindings() {
map.set('space', 'toggle-layout');
map.set('shift+space', 'toggle-layout-alternative');
map.set('backslash', 'toggle-show-statistics');
map.set('control+shift+backslash', 'switch-multicut-group');
defaultGlobalBindings = map;
}
return defaultGlobalBindings;
Expand Down Expand Up @@ -83,7 +84,6 @@ export function getDefaultRenderedDataPanelBindings() {
'keyc': 'two-point-cut',
'control+keyc': 'cut-selected',
'control+keys': 'shatter-segment-equivalences',
'control+shift+backslash': 'switch-multicut-group',
'at:control+wheel': {action: 'zoom-via-wheel', preventDefault: true},
'at:wheel': {action: 'z+1-via-wheel', preventDefault: true},
'at:shift+wheel': {action: 'z+10-via-wheel', preventDefault: true},
Expand Down

0 comments on commit 158b83f

Please sign in to comment.