mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
also bind Cmd+Y to redo on macOS
This commit is contained in:
1 parent
525fdb7f80
commit
ddedaeb47e
1 file changed
+2
-2
@@ -393,8 +393,8 @@ export class MouseControls {
|
||||
} finally {
|
||||
this.isProcessing = false;
|
||||
}
|
||||
} else if (keyLower === "y" && !event.metaKey) {
|
||||
// redo (Ctrl+Y, Windows/Linux)
|
||||
} else if (keyLower === "y") {
|
||||
// redo (Ctrl+Y on Windows/Linux, Cmd+Y on macOS)
|
||||
event.preventDefault();
|
||||
this.isProcessing = true;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user