Support redo with Ctrl+Shift+Z (#957)

This commit is contained in:
AustinMroz
2024-09-24 02:47:43 -05:00
committed by Chenlei Hu
parent d2d645f74b
commit 30469a6d88

View File

@@ -90,7 +90,7 @@ export class ChangeTracker {
async undoRedo(e) {
if (e.ctrlKey || e.metaKey) {
if (e.key === 'y') {
if (e.key === 'y' || e.key == 'Z') {
await this.redo()
return true
} else if (e.key === 'z') {