-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
component: coordinatescomponent: toolbox/flyoutissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wronglow priority
Description
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
- Start by opening
tests/multi_playground.html. - In any horizontal toolbox workspace (bottom four on page), add blocks from the toolbox.
- Hit the recenter button.
Notice how the blocks are not centered, shifted to the right.
Perhaps the toolbox length is being included in the horizontal workspace width?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: coordinatescomponent: toolbox/flyoutissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wronglow priority

