Skip to content

Conversation

@microbit-robert
Copy link
Contributor

@microbit-robert microbit-robert commented Apr 11, 2025

@microbit-robert microbit-robert requested a review from a team as a code owner April 11, 2025 12:55
@microbit-robert microbit-robert requested review from maribethb and removed request for a team April 11, 2025 12:55
name: this.insertShortcutName,
preconditionFn: this.insertPrecondition.bind(this),
preconditionFn: (workspace: WorkspaceSvg) =>
!workspace.isDragging() && this.insertPrecondition(workspace),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should go inside the insertPrecondition function instead of splitting up the logic here and in that named function. otherwise lgtm

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that makes sense. Updated here 833e67b

@maribethb maribethb merged commit dc5f6e7 into RaspberryPiFoundation:main Apr 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Opening the toolbox during keyboard move

2 participants