ariel-bentu / tam-drawio

A drawio plugin which offers TAM notation
Apache License 2.0
69 stars 14 forks source link

Fix double stroke on zoom #20

Closed the8tre closed 8 months ago

the8tre commented 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.

Fixes https://github.com/ariel-bentu/tam-drawio/issues/19