mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
update event type in blockly developer tools (#4731)
This commit is contained in:
committed by
GitHub
parent
71640fbff5
commit
ae33b64f4d
@@ -346,7 +346,7 @@ WorkspaceFactoryInit.addWorkspaceFactoryEventListeners_ = function(controller) {
|
||||
// surrounding parent, meaning it is nested in another block (blocks that
|
||||
// are not nested in parents cannot be shadow blocks).
|
||||
if (e.type == Blockly.Events.BLOCK_MOVE ||
|
||||
e.type == Blockly.Event.SELECTED) {
|
||||
e.type == Blockly.Events.SELECTED) {
|
||||
var selected = Blockly.selected;
|
||||
|
||||
// Show shadow button if a block is selected. Show "Add Shadow" if
|
||||
|
||||
Reference in New Issue
Block a user