Skip to content

Conversation

@microbit-matt-hillsdon
Copy link
Contributor

It used the position from positionNewTopLevelBlock, not the initial insert
position. Delay the setting of current node until the position is correct.

Fixes #577

It used the position from positionNewTopLevelBlock, not the initial insert
position. Delay the setting of current node until the position is correct.
@microbit-matt-hillsdon microbit-matt-hillsdon requested a review from a team as a code owner June 18, 2025 15:08
@microbit-matt-hillsdon microbit-matt-hillsdon requested review from gonfunko and removed request for a team June 18, 2025 15:08

workspace.setResizesEnabled(true);

getFocusManager().focusTree(workspace);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This line was pointless since setCurNode started moving focus.

@gonfunko gonfunko merged commit f92085b into RaspberryPiFoundation:main Jun 18, 2025
8 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.

Scroll block away from view when inserting a block

2 participants