You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once RaspberryPiFoundation/blockly#8870 is fixed in core (and released in a beta for use), override shouldHealStack to return false if shift was pressed and true otherwise.
This corresponds to a single-block drag with m (default) and a multi-block drag with M.
As a first pass, this will require passing additional information into the drag strategy through side channels in the event, as I did with the direction of movement.
Later, the information should be passed in directly. I think that we may change the dragging code to accept a keyboard event | pointer event instead of just a pointer event.
Once RaspberryPiFoundation/blockly#8870 is fixed in core (and released in a beta for use), override
shouldHealStackto returnfalseif shift was pressed andtrueotherwise.This corresponds to a single-block drag with
m(default) and a multi-block drag withM.As a first pass, this will require passing additional information into the drag strategy through side channels in the event, as I did with the direction of movement.
Later, the information should be passed in directly. I think that we may change the dragging code to accept a keyboard event | pointer event instead of just a pointer event.