editor: added keyboard shortcut mod + s for saving the session (#373)
This commit is contained in:
parent
da5db1e11a
commit
dfb4253fcd
3 changed files with 8 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
- removed widget deletion confirmation popup
|
||||
- properties categories can now be folded
|
||||
- added keyboard shortcut `F2` for editing the label quickly
|
||||
- added keyboard shortcut `mod + s` for saving the session
|
||||
|
||||
## 0.37.4
|
||||
|
||||
|
|
|
|||
|
|
@ -57,6 +57,8 @@ When holding the `ctrl` key (or `command` on Mac), multiple widgets can be selec
|
|||
|
||||
| Shortcut | Description |
|
||||
|---|---|
|
||||
| `mod + s` | save session as... |
|
||||
| `f2` | edit selected widget's label |
|
||||
| `mod + z` | undo |
|
||||
| `mod + y / mod + shift + z` | redo |
|
||||
| `delete` | delete selected widgets |
|
||||
|
|
|
|||
|
|
@ -131,6 +131,11 @@ var Editor = class Editor {
|
|||
|
||||
})
|
||||
|
||||
keyboardJS.bind('mod + s', (e)=>{
|
||||
sessionManager.save()
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
enable() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue