Skip to content

Commit ed692a8

Browse files
authored
fix: remove undo and redo shortcuts in favor of those in core (#628)
1 parent a51caa5 commit ed692a8

File tree

2 files changed

+0
-83
lines changed

2 files changed

+0
-83
lines changed

src/actions/undo_redo.ts

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/navigation_controller.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import {DisconnectAction} from './actions/disconnect';
3535
import {ActionMenu} from './actions/action_menu';
3636
import {MoveActions} from './actions/move';
3737
import {Mover} from './actions/mover';
38-
import {UndoRedoAction} from './actions/undo_redo';
3938

4039
const KeyCodes = BlocklyUtils.KeyCodes;
4140

@@ -69,8 +68,6 @@ export class NavigationController {
6968

7069
enterAction: EnterAction = new EnterAction(this.mover, this.navigation);
7170

72-
undoRedoAction: UndoRedoAction = new UndoRedoAction();
73-
7471
actionMenu: ActionMenu = new ActionMenu(this.navigation);
7572

7673
moveActions = new MoveActions(this.mover);
@@ -244,7 +241,6 @@ export class NavigationController {
244241
this.exitAction.install();
245242
this.enterAction.install();
246243
this.disconnectAction.install();
247-
this.undoRedoAction.install();
248244
this.actionMenu.install();
249245

250246
this.clipboard.install();
@@ -270,7 +266,6 @@ export class NavigationController {
270266
this.arrowNavigation.uninstall();
271267
this.exitAction.uninstall();
272268
this.enterAction.uninstall();
273-
this.undoRedoAction.uninstall();
274269
this.actionMenu.uninstall();
275270
this.shortcutDialog.uninstall();
276271

0 commit comments

Comments
 (0)