Ctrl+UpArrow for selecting parent way

This commit is contained in:
Minh Nguyễn
2020-12-22 11:28:46 -08:00
parent d95d204b62
commit e031ee3aef
2 changed files with 3 additions and 2 deletions

View File

@@ -159,7 +159,8 @@
"text": "shortcuts.browsing.vertex_selected.last"
},
{
"shortcuts": ["<"],
"modifiers": [""],
"shortcuts": ["↑"],
"text": "shortcuts.browsing.vertex_selected.parent"
},
{

View File

@@ -245,7 +245,7 @@ export function modeSelect(context, selectedIDs) {
.on(utilKeybinding.minusKeys.map((key) => uiCmd('⇧' + key)), scaleSelection(1/1.05))
.on(utilKeybinding.minusKeys.map((key) => uiCmd('⇧⌥' + key)), scaleSelection(1/Math.pow(1.05, 5)))
.on(['\\', 'pause'], nextParent)
.on('<', selectParent)
.on(uiCmd('⌘↑'), selectParent)
.on('⎋', esc, true);
d3_select(document)