Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Nov 20, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Added code in onChangeAfterLoading to handle VIEWPORT_CHANGE and BLOCK_CREATE events.
For VIEWPORT_CHANGE, set the paste location to the center of the blockly workspace.
For BLOCK_CREATE, call mrcOnCreate on the newly created block (if the block has that method).
In makeCurrent, set the paste workspace and location.

In mrc_call_python_function.ts, mrc_component.ts, mrc_event.ts, mrc_event_handler.ts, mrc_mechanism.ts:
Added mrcOnCreate so blocks that are created or pasted are checked.

In mrc_call_python_function.ts, mrc_event_handler.ts, mrc_jump_to_step.ts, mrc_mechanism.ts:
Check whether getIcon(Blockly.icons.IconType.WARNING) returns null.

In mrc_call_python_function.ts:
Added code to checkFunction to check blocks that call an instance method defined in the same module.
@pull pull bot locked and limited conversation to collaborators Nov 20, 2025
@pull pull bot added the ⤵️ pull label Nov 20, 2025
@pull pull bot merged commit 66ed284 into alan412:main Nov 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant