Closed Hero-Solutions closed 3 years ago
Thanks - missed that. Yes, the registration can be removed from the ToolsRegistry class. The SelectorPack plugin registers the circle implementation in index.js (when it calls .addDrawingTool).
Oh, good. I hadn't noticed that calling .addDrawingTool also registers the drawing tool with the ToolsRegistry.
This issue can be closed as the circle drawing tool has been moved from the core distribution into the selector pack plugin.
Registering the RubberBandCircleTool in the ToolsRegistry currently still happens in the main repository. This probably needs to moved to the selector pack. I'd do it myself, but I'm not sure what the preferred way is to do this.