Skip to content

Added missing shortcut for menu bar toggling#153

Open
sdrwtf wants to merge 1 commit into
hundredrabbits:masterfrom
sdrwtf:toggle-menu-shortcut
Open

Added missing shortcut for menu bar toggling#153
sdrwtf wants to merge 1 commit into
hundredrabbits:masterfrom
sdrwtf:toggle-menu-shortcut

Conversation

@sdrwtf

@sdrwtf sdrwtf commented Jul 13, 2021

Copy link
Copy Markdown

I have added a shortcut and menu entry which allows to toggle the menu bar by pressing F11. It calls the already existing function in dekstop/main.js (line 63):

app.toggleMenubar = function () {
  app.win.setMenuBarVisibility(!app.win.isMenuBarVisible())
}

This might resolve #145

Menu entry:

image

Toggle by mouse-tap and pressing F11:

toggle-menu-test

@waldmannly

Copy link
Copy Markdown

This is cool! Not sure I love it being bound to F11, as that is usually full screen for most programs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: option to hide menu bar

2 participants