session: add mod+o shortcut to open a session file
This commit is contained in:
parent
9e3615b9a0
commit
b485e58087
3 changed files with 7 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
|||
- properties categories can now be folded
|
||||
- added keyboard shortcut `F2` for editing the label quickly
|
||||
- added keyboard shortcut `mod + s` for saving the session
|
||||
- added keyboard shortcut `mod + o` for opening a session
|
||||
- use `backspace` instead of `delete` for deleting widgets on MacOs
|
||||
- added keyboard shortcut `mod + e` for enabling / disabling the editor
|
||||
- added keyboard shortcuts `mod + arrows` for selecting widgets
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ The following shortcuts are always available:
|
|||
|---|---|
|
||||
| `mod + e` | enable/disable editor |
|
||||
| `mod + s` | save session as... |
|
||||
| `mod + o` | open a session file |
|
||||
|
||||
The following shortcuts are available only when the editor is enabled:
|
||||
|
||||
|
|
|
|||
|
|
@ -205,6 +205,11 @@ var Editor = class Editor {
|
|||
sessionManager.save()
|
||||
})
|
||||
|
||||
keyboardJS.bind('mod + o', (e)=>{
|
||||
e.preventDefault()
|
||||
sessionManager.browse()
|
||||
})
|
||||
|
||||
keyboardJS.bind('mod + e', (e)=>{
|
||||
e.preventDefault()
|
||||
if (this.enabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue