Skip to content

custom-block-shape: new Blockly - #8556

Merged
mxmou merged 3 commits into
ScratchAddons:masterfrom
mxmou:modern-blockly-shape
Sep 15, 2025
Merged

custom-block-shape: new Blockly#8556
mxmou merged 3 commits into
ScratchAddons:masterfrom
mxmou:modern-blockly-shape

Conversation

@mxmou

@mxmou mxmou commented Sep 13, 2025

Copy link
Copy Markdown
Member

Changes

Updates the last remaining addon to modern Blockly!
name-backpack-items is also listed in the tracking issue, but it likely won't need any changes because it doesn't interact with Blockly.

Tests

Tested both Scratch versions on Edge and Firefox.

@mxmou mxmou self-assigned this Sep 13, 2025
@mxmou mxmou added scope: addon Related to one or multiple addons scope: upstream Related to something we depend on (like Scratch, a library, or the browser) labels Sep 13, 2025
@Samq64

Samq64 commented Sep 13, 2025

Copy link
Copy Markdown
Member

The two versions are pretty inconsistant when setting the padding to 50% while leaving the other settings at 100%:

New Blockly Old Blockly
image image

At one point the top of a hat block was cut off but I can't repro that anymore.

@mxmou

mxmou commented Sep 13, 2025

Copy link
Copy Markdown
Member Author

I don't think everything has to look exactly the same as before because the new block rendering code is very different. Some of the changes in these screenshots are actually improvements: the define hat now has the same amount of vertical padding as the normal hat and the notch shape is less weird.

I'll fix the width of number inputs and the height of the repeat block's mouth - those should be affected by the setting but they don't seem to be.

@mxmou
mxmou merged commit 1698695 into ScratchAddons:master Sep 15, 2025
3 checks passed
@mxmou
mxmou deleted the modern-blockly-shape branch September 15, 2025 07:53
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 scope: upstream Related to something we depend on (like Scratch, a library, or the browser)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants