Check for duplicates
Description
When blocks are dragged on the workspace, the decision to delete them (or other actions like moving them to a backpack) is determined based on the block's getRelativeToSurfaceXY() coordinates. This creates unexpected behavior if the block is dragged from somewhere further right on the block.
Reproduction steps
- Using a mouse, click a block's middle or right side to begin a drag.
- Move the block such that it's left edge slightly overlaps the toolbox without the cursor overlapping the block. (The block would be deleted.)
- Move the cursor over the trashcan without touching the top-left corner of the block to the trashcan. (The block would not be deleted).
Priority
No response
Stack trace
Screenshots
The mouse cursor could not be captured in these screenshots, unfortunately, but it was position at the 'to' label at the middle of the block.
This block would be deleted if dropped here:
This block would not be deleted if dropped here:
Browsers
No response
Check for duplicates
Description
When blocks are dragged on the workspace, the decision to delete them (or other actions like moving them to a backpack) is determined based on the block's
getRelativeToSurfaceXY()coordinates. This creates unexpected behavior if the block is dragged from somewhere further right on the block.Reproduction steps
Priority
No response
Stack trace
Screenshots
The mouse cursor could not be captured in these screenshots, unfortunately, but it was position at the
'to'label at the middle of the block.This block would be deleted if dropped here:
This block would not be deleted if dropped here:
Browsers
No response