Skip to content

Commit

Permalink
remove line dash modification for strokeUniform (fabricjs#5953)
Browse files Browse the repository at this point in the history
  • Loading branch information
korzo89 authored and Hristo Chakarov committed Jul 27, 2021
1 parent 73fa90b commit eb029d5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/shapes/object.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -1388,9 +1388,6 @@
else {
alternative && alternative(ctx);
}
if (this.strokeUniform) {
ctx.setLineDash(ctx.getLineDash().map(function(value) { return value * ctx.lineWidth; }));
}
},

/**
Expand Down

0 comments on commit eb029d5

Please sign in to comment.