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

Add tooltip or notification about training increment with ctrl #452

Closed
GreatApo opened this issue Apr 16, 2023 · 1 comment
Closed

Add tooltip or notification about training increment with ctrl #452

GreatApo opened this issue Apr 16, 2023 · 1 comment

Comments

@GreatApo
Copy link
Member

Somehow inform the users that by pressing CTRL the training increment buttons change by 10 instead of 1. (#450)

@jrel
Copy link
Contributor

jrel commented Aug 24, 2023

CTRL doesn't work on Mac. We can use e.metaKey to check if the command key is pressed, but meta is the window key in Windows.
We can add a filter to check if the user uses a Mac.

var isMac = navigator.platform.toUpperCase().indexOf('MAC')>=0;

But I think it is easier to switch to the shift key and use e.shiftKey.

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

No branches or pull requests

3 participants