Recenter issue with a horizontal toolbox #2036
Labels
component: coordinates
component: toolbox/flyout
issue: bug
Describes why the code or behaviour is wrong
low priority
Problem statement
If a toolbox has a horizontal toolbox, recentered blocks will be far right of the workspace center, possibly outside the normal draggable bounds.
Expected Behavior
After pressing the recenter button, blocks should be centered in the workspace. It the blocks fit, they in the visible space, they should not bleed off the workspace edge.
Actual Behavior
Steps to Reproduce
tests/multi_playground.html
.Notice how the blocks are not centered, shifted to the right.
Perhaps the toolbox length is being included in the horizontal workspace width?
The text was updated successfully, but these errors were encountered: