also bind Cmd+Y to redo on macOS

This commit is contained in:
Tanish Manku committed 2026-04-22 08:23:48 -07:00
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 {