Expand stack-drag modifier key to include alt and ctrl.

This commit is contained in:
Neil Fraser
2017-01-09 22:55:17 -08:00
parent c489ca1fc9
commit c68684dda6

View File

@@ -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.