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

CTRL-Click alternative on MacOS #1343

Open
Alistair1231 opened this issue Jan 10, 2025 · 0 comments
Open

CTRL-Click alternative on MacOS #1343

Alistair1231 opened this issue Jan 10, 2025 · 0 comments

Comments

@Alistair1231
Copy link

Alistair1231 commented Jan 10, 2025

Issue

On MacOS, ctrl-click is the same as right-click. As such I cannot find a way to increase things like storage or trade routes by 10.
In case you don't have a MacOS device to test on, this is what the various keybinds do for me (I am referring to the keys in the MacOS way, so option key == alt key and command (cmd) key == windows key):

ActionEffect
normal clickchange by 1
shift clickchange by 25
option clickchange by 100
option+shift clickchange by 2500
cmd clickchange by 1
cmd+shift clickchange by 25
ctrl+shift clickright-click menu
ctrl clickright-click menu

Proposed solution

I think it should suffice to check for MacOS and if detected, change all hotkeys that use Ctrl, to use Cmd instead.
According to this, Cmd is event.metaKey in JS

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

No branches or pull requests

1 participant