Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing shortcut for menu bar toggling #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sdrwtf
Copy link

@sdrwtf sdrwtf commented Jul 13, 2021

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

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