Add keybind to hide room pane (default Ctrl+Alt+R)

This commit is contained in:
miruka 2020-07-14 16:51:01 -04:00
parent e00832eea6
commit d51c0e3e5d
2 changed files with 10 additions and 4 deletions

View File

@ -286,10 +286,11 @@ class UISettings(JSONDataFile):
"toggleDebugConsole": ["Alt+Shift+C", "F1"],
"reloadConfig": ["Alt+Shift+R"],
"zoomIn": ["Ctrl++"],
"zoomOut": ["Ctrl+-"],
"zoomReset": ["Ctrl+="],
"toggleCompactMode": ["Ctrl+Alt+C"],
"zoomIn": ["Ctrl++"],
"zoomOut": ["Ctrl+-"],
"zoomReset": ["Ctrl+="],
"toggleCompactMode": ["Ctrl+Alt+C"],
"toggleHideRoomPane": ["Ctrl+Alt+R"],
"scrollUp": ["Alt+Up", "Alt+K"],
"scrollDown": ["Alt+Down", "Alt+J"],

View File

@ -103,4 +103,9 @@ MultiviewPane {
sequences: window.settings.keys.toggleFocusRoomPane
onActivated: roomPane.toggleFocus()
}
HShortcut {
sequences: window.settings.keys.toggleHideRoomPane
onActivated: roomPane.forceCollapse = ! roomPane.forceCollapse
}
}