mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Merge pull request #3421 from google/rachel-fenichel-patch-1
Only log about a missing event group if we actually did something
This commit is contained in:
@@ -311,7 +311,7 @@ Blockly.createMainWorkspace_ = function(svg, options, blockDragSurface,
|
||||
object.moveBy(deltaX, deltaY);
|
||||
}
|
||||
if (e) {
|
||||
if (!e.group) {
|
||||
if (!e.group && object) {
|
||||
console.log('WARNING: Moved object in bounds but there was no' +
|
||||
' event group. This may break undo.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user