editor: change r shortcut to y

This commit is contained in:
jean-emmanuel 2025-03-14 04:27:54 +01:00
parent 2a9ce79ecf
commit 58acf3e0a7
3 changed files with 5 additions and 5 deletions

View file

@ -102,7 +102,7 @@ Multiple widgets can be edited at once.
| ++left++ | Select current widget's parent |
| ++right++ | Select current widget's first child |
| ++t++ | Show selected widget(s) in the project tree |
| ++r++ | Show selected widget(s) in the session |
| ++y++ | Show selected widget(s) in the session |
| ++ctrl+f++ | Focus search input in project tree |
| ++"Home"++ | Send selected widget to back |
| ++"Page Up"++ | Send selected widget farther |
@ -144,7 +144,7 @@ Multiple widgets can be edited at once.
| ++left++ | Select current widget's parent |
| ++right++ | Select current widget's first child |
| ++t++ | Show selected widget in the project tree |
| ++r++ | Show selected widget(s) in the session |
| ++y++ | Show selected widget(s) in the session |
| ++cmd+f++ | Focus search input in project tree |
| ++"Home"++ | Send selected widget to back |
| ++"Page Up"++ | Send selected widget farther |

View file

@ -112,7 +112,7 @@ var handleClick = function(event) {
editor.widgetTree.showWidgetInSession(w)
}
},
shortcut: 'r'
shortcut: 'y'
})
}

View file

@ -210,7 +210,7 @@ class Editor {
'home',
'end',
't',
'r',
'y',
'f2',
'h',
'mod + f'
@ -454,7 +454,7 @@ class Editor {
this.widgetTree.showWidget(editor.selectedWidgets[0])
this.widgetTree.blinkSelected()
break
case 'r':
case 'y':
if (!this.selectedWidgets.length) return
for (let w of editor.selectedWidgets) {
this.widgetTree.showWidgetInSession(w)