Check for duplicates
Description
#9584 is a breaking change. The SVG transform attribute was accessible via WorkspaceSvg.getCanvas(), and replacing setAttribute('transform', ...) with style.transform in translateLayers causes getAttribute('transform') to return null. This breaks dependent code, including the official @blockly/plugin-scroll-options plugin.
Note: @blockly/plugin-scroll-options accesses the element via svgBlockCanvas_, which returns the same element as the public getCanvas().
Check for duplicates
Description
#9584 is a breaking change. The SVG transform attribute was accessible via WorkspaceSvg.getCanvas(), and replacing setAttribute('transform', ...) with style.transform in translateLayers causes getAttribute('transform') to return null. This breaks dependent code, including the official @blockly/plugin-scroll-options plugin.
Note: @blockly/plugin-scroll-options accesses the element via svgBlockCanvas_, which returns the same element as the public getCanvas().