diff --git a/core/block_svg.ts b/core/block_svg.ts index 7851c1472..504bff63f 100644 --- a/core/block_svg.ts +++ b/core/block_svg.ts @@ -947,7 +947,12 @@ export class BlockSvg extends Block implements IASTNodeLocationSvg, */ updateDisabled() { const disabled = !this.isEnabled() || this.getInheritedDisabled(); - if (this.visuallyDisabled === disabled) return; + + if (this.visuallyDisabled === disabled) { + this.getNextBlock()?.updateDisabled(); + return; + } + this.applyColour(); this.visuallyDisabled = disabled; for (const child of this.getChildren(false)) {