From d95d204b62f1507d72c9fd9d5816210ad5240971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Tue, 22 Dec 2020 00:19:55 -0800 Subject: [PATCH] Recurse up, not down --- data/shortcuts.json | 2 +- modules/modes/select.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/shortcuts.json b/data/shortcuts.json index dfad38e8c..3453911ee 100644 --- a/data/shortcuts.json +++ b/data/shortcuts.json @@ -159,7 +159,7 @@ "text": "shortcuts.browsing.vertex_selected.last" }, { - "shortcuts": [">"], + "shortcuts": ["<"], "text": "shortcuts.browsing.vertex_selected.parent" }, { diff --git a/modules/modes/select.js b/modules/modes/select.js index c2bc8dfd8..288aef9b3 100644 --- a/modules/modes/select.js +++ b/modules/modes/select.js @@ -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('<', selectParent) .on('⎋', esc, true); d3_select(document)