Closed the8tre closed 8 months ago
When zooming in the stroke is being doubled and scaled according to the current zoom level.
Instead of c.getCurrentStrokeWidth() use c.state.strokeWidth which provides the stroke width regardless of the current zoom level.
c.getCurrentStrokeWidth()
c.state.strokeWidth
Fixes https://github.com/ariel-bentu/tam-drawio/issues/19
When zooming in the stroke is being doubled and scaled according to the current zoom level.
Instead of
c.getCurrentStrokeWidth()
usec.state.strokeWidth
which provides the stroke width regardless of the current zoom level.Fixes https://github.com/ariel-bentu/tam-drawio/issues/19