Skip to content

Commit

Permalink
Fix linewidth scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
jonobr1 committed Feb 22, 2024
1 parent f2713de commit 6524937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/webgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ const webgl = {
// Styles
const scale = vector.copy(elem._renderer.scale).multiply(ratio);
const stroke = elem._stroke;
const linewidth = elem._linewidth * scale;
const linewidth = elem._linewidth;
const fill = elem._fill;
const opacity = elem._renderer.opacity || elem._opacity;
const dashes = elem.dashes;
Expand Down

0 comments on commit 6524937

Please sign in to comment.