Skip to content

Commit 788237f

Browse files
committed
Allow navigating to the toolbox on readonly workspaces
1 parent 40001aa commit 788237f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/navigation_controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export class NavigationController {
197197
focusToolbox: {
198198
name: Constants.SHORTCUT_NAMES.TOOLBOX,
199199
preconditionFn: (workspace) =>
200-
!workspace.isDragging() && this.navigation.canCurrentlyEdit(workspace),
200+
!workspace.isDragging(),
201201
callback: (workspace) => {
202202
keyboardNavigationController.setIsActive(true);
203203
switch (this.navigation.getState()) {

0 commit comments

Comments
 (0)