You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
on MacOS cmd + H is system-wide shortcut for hiding focused window. While using overpass-turbo in Firefox[1] this shortcut opens site's help popup instead of hiding window.
It is happening probably because of this line of code:
event.metaKey represents ⌘ Command key on MacOS. In case of Mac it is not necessary to use cmd here since Mac do have ctrl key as well - so help dialog can be still opened with ctrl + H.
However I'm not sure how removing event.metaKey from this condition would influence other operating systems.
[1]: This does not occur in Safari browser since Safari prevents use of default shorcuts by website.
The text was updated successfully, but these errors were encountered:
Problem:
on MacOS
cmd + H
is system-wide shortcut for hiding focused window. While using overpass-turbo in Firefox[1] this shortcut opens site's help popup instead of hiding window.It is happening probably because of this line of code:
overpass-turbo/js/ide.ts
Line 2532 in eb216aa
event.metaKey
represents⌘ Command
key on MacOS. In case of Mac it is not necessary to usecmd
here since Mac do havectrl
key as well - so help dialog can be still opened withctrl + H
.However I'm not sure how removing
event.metaKey
from this condition would influence other operating systems.[1]: This does not occur in Safari browser since Safari prevents use of default shorcuts by website.
The text was updated successfully, but these errors were encountered: