FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use VM's serialization methods in updateAllBlocks by mxmou · Pull Request #9152 · ScratchAddons/ScratchAddons · GitHub

Use VM's serialization methods in updateAllBlocks - #9152

Merged
mxmou merged 1 commit into
ScratchAddons:masterfrom
mxmou:fix-block-comment-bugs
Aug 22, 2026
Merged

Use VM's serialization methods in updateAllBlocks#9152
mxmou merged 1 commit into
ScratchAddons:masterfrom
mxmou:fix-block-comment-bugs

Conversation

mxmou commented Aug 7, 2026

Copy link
Copy Markdown
Member

Resolves #9151

Changes

Changes updateAllBlocks() to use the VM's methods to serialize blocks and comments instead of blockly.Xml.workspaceToDom().

Tests

Tested on Edge and Firefox.

mxmou self-assigned this Aug 7, 2026
mxmou requested a review from WorldLanguages as a code owner August 7, 2026 08:42
mxmou added the scope: addon Related to one or multiple addons label Aug 7, 2026

Samq64 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

When switching sprites comments do not update their positions instantly but that is also the case without Scratch Addons to an extent.

mxmou merged commit c64df5e into ScratchAddons:master Aug 22, 2026
2 checks passed
mxmou deleted the fix-block-comment-bugs branch August 22, 2026 10:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: addon Related to one or multiple addons

Projects

None yet

Development

Successfully merging this pull request may close these issues.

updateAllBlocks() makes block comments behave weirdly

2 participants


Back | FazBrowse Home | New Git URL