From c68684dda64340565b2218cbe7573f4cb1e7c1d6 Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Mon, 9 Jan 2017 22:55:17 -0800 Subject: [PATCH] Expand stack-drag modifier key to include alt and ctrl. --- core/block_svg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/block_svg.js b/core/block_svg.js index 95120a284..3cc1a59ac 100644 --- a/core/block_svg.js +++ b/core/block_svg.js @@ -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.