aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-07-25 15:00:19 -0400
committerbob <bcz@cs.brown.edu>2019-07-25 15:00:19 -0400
commit5506a14f2e0ad2581e123320b620d84a1afc4e20 (patch)
treee058bd11f714416199a24132e44684afa3925628 /src/client/views/GlobalKeyHandler.ts
parenteceff76609deaa3e7a60c686b62cb4fd15e9699b (diff)
parentaedebcc5e45f1d015eb4d1a1ba48683648e3630d (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
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":