minimap icon indicating copy to clipboard operation
minimap copied to clipboard

fix: make CanvasDrawer a normal class

Open aminya opened this issue 4 years ago • 1 comments

Description

Make CanvasDrawer class independent, and store the class instance in CanvasDrawer property

Benefits

This decoupling allows doing further optimizations with the code. For example, not calling the state functions every time, and make them once during the constructor. It also allows removing all the mixin hackery and mixto.

It makes the who classes independent, so we know which properties are actually for CanvasDrawer.

aminya avatar Jan 02 '21 08:01 aminya

This is mostly working. One of the tests is failing which I need to debug.

aminya avatar Apr 02 '21 06:04 aminya