Left Menu: show with shortcut when pinned but hidden (#3170)

Previously the shortcut Ctrl+Shift+M only worked when the menu wasn't
pinned.

But being able to show the menu is also very handy when the menu was
pinned but hidden because the screen is narrowed.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
pull/3180/head
jimtng 2025-05-05 18:40:48 +10:00 committed by GitHub
parent 0e37ba676b
commit 7add1895f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -615,9 +615,7 @@ export default {
break
case 77: // M for menu
const leftPanel = this.$f7.panel.get('left')
if (leftPanel.visibleBreakpointDisabled) {
leftPanel.opened ? leftPanel.close() : leftPanel.open()
}
leftPanel.opened ? leftPanel.close() : leftPanel.open()
break
default:
return