aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorFawn <fangrui_tong@brown.edu>2019-07-26 16:23:22 -0400
committerFawn <fangrui_tong@brown.edu>2019-07-26 16:23:22 -0400
commitf5ffd372f48f68cd17ca15a8c1f5c7d67b0f7aae (patch)
tree840a6748350749bcbfe418fc08e45be958e2c8bc /src/client/views/GlobalKeyHandler.ts
parent1bedf9e23afe26a284ba4804672ad4f396402813 (diff)
parent6c6c2a6c8e40b9f04942e65c416e16f1d3831385 (diff)
merged
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index e8a588e58..7477c5b4f 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -1,4 +1,4 @@
-import { UndoManager, undoBatch } from "../util/UndoManager";
+import { UndoManager } from "../util/UndoManager";
import { SelectionManager } from "../util/SelectionManager";
import { CollectionDockingView } from "./collections/CollectionDockingView";
import { MainView } from "./MainView";
@@ -144,9 +144,11 @@ export default class KeyManager {
break;
case "y":
UndoManager.Redo();
+ stopPropagation = false;
break;
case "z":
UndoManager.Undo();
+ stopPropagation = false;
break;
case "a":
case "c":