inspector: hitting ctrl+s while editing a property will submit the change before saving

This commit is contained in:
bordun 2021-02-06 12:52:01 +01:00
parent 419cb7b3ab
commit 491c0ec687
2 changed files with 8 additions and 1 deletions

View file

@ -93,6 +93,10 @@ var SessionManager = class SessionManager {
if (path) this.setSessionPath(path)
if (editor.inspector.focusedInput) {
editor.inspector.focusedInput.blur()
}
if (!this.sessionPath) return this.saveAs()
ipc.send('sessionSave', {