Skip to content

Commit

Permalink
Change borderScaleFactor behaviour (#2930) (#3154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Dietz authored and asturur committed Aug 11, 2016
1 parent a2b4ef5 commit c0f5dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shapes/object.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@

ctx.save();
ctx.translate(options.translateX, options.translateY);
ctx.lineWidth = 1 / this.borderScaleFactor;
ctx.lineWidth = 1 * this.borderScaleFactor;
ctx.globalAlpha = this.isMoving ? this.borderOpacityWhenMoving : 1;

if (this.group && this.group === this.canvas.getActiveGroup()) {
Expand Down

0 comments on commit c0f5dc3

Please sign in to comment.