diff --git a/src/backend/user_files.py b/src/backend/user_files.py index 411fa769..8145ec30 100644 --- a/src/backend/user_files.py +++ b/src/backend/user_files.py @@ -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"], diff --git a/src/gui/Pages/Chat/RoomPane/RoomPane.qml b/src/gui/Pages/Chat/RoomPane/RoomPane.qml index 09450333..c15d81c6 100644 --- a/src/gui/Pages/Chat/RoomPane/RoomPane.qml +++ b/src/gui/Pages/Chat/RoomPane/RoomPane.qml @@ -103,4 +103,9 @@ MultiviewPane { sequences: window.settings.keys.toggleFocusRoomPane onActivated: roomPane.toggleFocus() } + + HShortcut { + sequences: window.settings.keys.toggleHideRoomPane + onActivated: roomPane.forceCollapse = ! roomPane.forceCollapse + } }