@@ -557,16 +557,6 @@ export class NavigationController {
557557 allowCollision : true ,
558558 } ,
559559
560- /** List all of the currently registered shortcuts. */
561- announceShortcuts : {
562- name : Constants . SHORTCUT_NAMES . LIST_SHORTCUTS ,
563- callback : ( ) => {
564- this . shortcutDialog . toggle ( ) ;
565- return true ;
566- } ,
567- keyCodes : [ KeyCodes . SLASH ] ,
568- } ,
569-
570560 /** Announce the current location of the cursor. */
571561 announceLocation : {
572562 name : Constants . SHORTCUT_NAMES . ANNOUNCE ,
@@ -715,8 +705,9 @@ export class NavigationController {
715705 this . workspaceMovement . install ( ) ;
716706
717707 this . clipboard . install ( ) ;
708+ this . shortcutDialog . install ( ) ;
718709
719- // Initalise the shortcut modal with available shortcuts. Needs
710+ // Initialize the shortcut modal with available shortcuts. Needs
720711 // to be done separately rather at construction, as many shortcuts
721712 // are not registered at that point.
722713 this . shortcutDialog . createModalContent ( ) ;
@@ -734,6 +725,7 @@ export class NavigationController {
734725 this . insertAction . uninstall ( ) ;
735726 this . clipboard . uninstall ( ) ;
736727 this . workspaceMovement . uninstall ( ) ;
728+ this . shortcutDialog . uninstall ( ) ;
737729
738730 this . removeShortcutHandlers ( ) ;
739731 this . navigation . dispose ( ) ;
0 commit comments