mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-30 18:14:42 +00:00
Build distribution
This commit is contained in:
parent
6a39ee978a
commit
384fe70edd
3 changed files with 8 additions and 5 deletions
7
dist/all.js
vendored
7
dist/all.js
vendored
|
|
@ -12450,8 +12450,11 @@ fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prot
|
|||
* @param {CanvasRenderingContext2D} ctx Context to render on
|
||||
*/
|
||||
_renderDashedStroke: function(ctx) {
|
||||
var x = this.width === 1 ? 0 : -this.width / 2,
|
||||
y = this.height === 1 ? 0 : -this.height / 2;
|
||||
var
|
||||
xMult = this.x1 <= this.x2 ? -1 : 1,
|
||||
yMult = this.y1 <= this.y2 ? -1 : 1,
|
||||
x = this.width === 1 ? 0 : xMult * this.width / 2,
|
||||
y = this.height === 1 ? 0 : yMult * this.height / 2;
|
||||
|
||||
ctx.beginPath();
|
||||
fabric.util.drawDashedLine(ctx, x, y, -x, -y, this.strokeDashArray);
|
||||
|
|
|
|||
6
dist/all.min.js
vendored
6
dist/all.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/all.min.js.gz
vendored
BIN
dist/all.min.js.gz
vendored
Binary file not shown.
Loading…
Reference in a new issue