mit-cml / workspace-multiselect

A Blockly plugin that allows you to drag, select and manipulate multiple blocks in the workspace.
https://hollowman6.github.io/workspace-multiselect/multi-workspace
11 stars 12 forks source link

Avoid updating the field again for the event source block #59

Closed HollowMan6 closed 4 months ago

HollowMan6 commented 4 months ago

The basics

The details

Resolves

Fixes #58

Proposed Changes

Checking the event source and avoid calling the setFieldValue if that specific block happens to be the event source.

Reason for Changes

Avoid the validator to validate it twice.

Test Coverage

Documentation

Additional Information

HollowMan6 commented 4 months ago

cc: @mark-friedman