ocadotechnology / rapid-router

A Blockly and python based educational game aimed at students age 5-14.
https://www.codeforlife.education
Other
56 stars 61 forks source link

fix: allow scenery to be dragged to bin #1616

Closed evemartin closed 1 month ago

evemartin commented 1 month ago

As described in Stefan's comment, scenery items can now be dragged off the grid to the bin to be removed. If they are dragged off the grid but are not released over the bin, they will snap back to the grid (i.e. if the scenery item's x value is too large such that it's off the grid when it's released, it will automatically snap back to the max x value so that it's on the grid).


This change is Reviewable