Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/actions/enter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Events,
ShortcutRegistry,
utils as BlocklyUtils,
getFocusManager,

Check warning on line 11 in src/actions/enter.ts

View workflow job for this annotation

GitHub Actions / Eslint check

'getFocusManager' is defined but never used
BlockSvg,
FlyoutButton,
RenderedConnection,
Expand Down Expand Up @@ -121,6 +121,7 @@
) {
return !workspace.isReadOnly();
}
if (curNode instanceof BlockSvg) return true;
// Returning true is sometimes incorrect for icons, but there's no API to check.
if (curNode instanceof icons.Icon) return true;
return false;
Expand Down
Loading