Check for duplicates
Problem
The scroll options plugin accesses some public + underscore properties of the workspace. We should consider whether to add public accessors for these, since there is obviously a use case for accessing them.
The first property is svgGroup_.
The second property is svgBlockCanvas_. This /is/ currently returned by the accessor getBlockCanvas, but getBlockCanvas is marked @internal, so it is inaccessible.
Request
Consider adding a getSvgGroup method and making the getBlockCanvas method public.
Alternatives considered
N/A
Additional context
RaspberryPiFoundation/blockly-samples#1666
Check for duplicates
Problem
The scroll options plugin accesses some public + underscore properties of the workspace. We should consider whether to add public accessors for these, since there is obviously a use case for accessing them.
The first property is
svgGroup_.The second property is
svgBlockCanvas_. This /is/ currently returned by the accessorgetBlockCanvas, butgetBlockCanvasis marked@internal, so it is inaccessible.Request
Consider adding a
getSvgGroupmethod and making thegetBlockCanvasmethod public.Alternatives considered
N/A
Additional context
RaspberryPiFoundation/blockly-samples#1666