File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ export class NavigationController {
8888 exitAction : ExitAction = new ExitAction (
8989 this . navigation ,
9090 this . canCurrentlyNavigate . bind ( this ) ,
91+ ) ;
9192
9293 enterAction : EnterAction = new EnterAction (
9394 this . navigation ,
@@ -238,18 +239,24 @@ export class NavigationController {
238239 * @returns whether keyboard navigation is currently allowed.
239240 */
240241 private canCurrentlyNavigate ( workspace : WorkspaceSvg ) {
241- return this . canCurrentlyNavigateInToolbox ( workspace ) ||
242- this . canCurrentlyNavigateInWorkspace ( workspace ) ;
242+ return (
243+ this . canCurrentlyNavigateInToolbox ( workspace ) ||
244+ this . canCurrentlyNavigateInWorkspace ( workspace )
245+ ) ;
243246 }
244247
245248 private canCurrentlyNavigateInToolbox ( workspace : WorkspaceSvg ) {
246- return workspace . keyboardAccessibilityMode &&
247- this . navigationFocus == NAVIGATION_FOCUS_MODE . TOOLBOX ;
249+ return (
250+ workspace . keyboardAccessibilityMode &&
251+ this . navigationFocus == NAVIGATION_FOCUS_MODE . TOOLBOX
252+ ) ;
248253 }
249254
250255 private canCurrentlyNavigateInWorkspace ( workspace : WorkspaceSvg ) {
251- return workspace . keyboardAccessibilityMode &&
252- this . navigationFocus == NAVIGATION_FOCUS_MODE . WORKSPACE ;
256+ return (
257+ workspace . keyboardAccessibilityMode &&
258+ this . navigationFocus == NAVIGATION_FOCUS_MODE . WORKSPACE
259+ ) ;
253260 }
254261
255262 /**
You can’t perform that action at this time.
0 commit comments