mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
Make finished-loading events be UI events
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
primaryWorkspace.addChangeListener(mirrorEvent);
|
||||
|
||||
function mirrorEvent(primaryEvent) {
|
||||
if (primaryEvent.type == Blockly.Events.UI) {
|
||||
if (primaryEvent instanceof Blockly.Events.Ui) {
|
||||
return; // Don't mirror UI events.
|
||||
}
|
||||
// Convert event to JSON. This could then be transmitted across the net.
|
||||
|
||||
Reference in New Issue
Block a user