mirror of
https://github.com/google/blockly.git
synced 2026-03-11 15:50:10 +01:00
Expand stack-drag modifier key to include alt and ctrl.
This commit is contained in:
@@ -954,7 +954,7 @@ Blockly.BlockSvg.prototype.onMouseMove_ = function(e) {
|
||||
var disconnectEffect = !!this.parentBlock_;
|
||||
// If in a stack, either split the stack, or pull out single block.
|
||||
var healStack = !Blockly.DRAG_STACK;
|
||||
if (e.metaKey) {
|
||||
if (e.altKey || e.ctrlKey || e.metaKey) {
|
||||
healStack = !healStack;
|
||||
}
|
||||
// Push this block to the very top of the stack.
|
||||
|
||||
Reference in New Issue
Block a user