mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-30 18:14:42 +00:00
Build dist
This commit is contained in:
parent
a6aca98fe0
commit
43a4fe6b15
4 changed files with 19 additions and 3 deletions
8
dist/fabric.js
vendored
8
dist/fabric.js
vendored
|
|
@ -14562,6 +14562,8 @@ fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prot
|
|||
_render: function(ctx) {
|
||||
var current, // current instruction
|
||||
previous = null,
|
||||
subpathStartX = 0,
|
||||
subpathStartY = 0,
|
||||
x = 0, // current x
|
||||
y = 0, // current y
|
||||
controlX = 0, // current control point x
|
||||
|
|
@ -14614,12 +14616,16 @@ fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prot
|
|||
case 'm': // moveTo, relative
|
||||
x += current[1];
|
||||
y += current[2];
|
||||
subpathStartX = x;
|
||||
subpathStartY = y;
|
||||
ctx.moveTo(x + l, y + t);
|
||||
break;
|
||||
|
||||
case 'M': // moveTo, absolute
|
||||
x = current[1];
|
||||
y = current[2];
|
||||
subpathStartX = x;
|
||||
subpathStartY = y;
|
||||
ctx.moveTo(x + l, y + t);
|
||||
break;
|
||||
|
||||
|
|
@ -14831,6 +14837,8 @@ fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prot
|
|||
|
||||
case 'z':
|
||||
case 'Z':
|
||||
x = subpathStartX;
|
||||
y = subpathStartY;
|
||||
ctx.closePath();
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
6
dist/fabric.min.js
vendored
6
dist/fabric.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/fabric.min.js.gz
vendored
BIN
dist/fabric.min.js.gz
vendored
Binary file not shown.
8
dist/fabric.require.js
vendored
8
dist/fabric.require.js
vendored
|
|
@ -14562,6 +14562,8 @@ fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prot
|
|||
_render: function(ctx) {
|
||||
var current, // current instruction
|
||||
previous = null,
|
||||
subpathStartX = 0,
|
||||
subpathStartY = 0,
|
||||
x = 0, // current x
|
||||
y = 0, // current y
|
||||
controlX = 0, // current control point x
|
||||
|
|
@ -14614,12 +14616,16 @@ fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prot
|
|||
case 'm': // moveTo, relative
|
||||
x += current[1];
|
||||
y += current[2];
|
||||
subpathStartX = x;
|
||||
subpathStartY = y;
|
||||
ctx.moveTo(x + l, y + t);
|
||||
break;
|
||||
|
||||
case 'M': // moveTo, absolute
|
||||
x = current[1];
|
||||
y = current[2];
|
||||
subpathStartX = x;
|
||||
subpathStartY = y;
|
||||
ctx.moveTo(x + l, y + t);
|
||||
break;
|
||||
|
||||
|
|
@ -14831,6 +14837,8 @@ fabric.util.object.extend(fabric.Object.prototype, /** @lends fabric.Object.prot
|
|||
|
||||
case 'z':
|
||||
case 'Z':
|
||||
x = subpathStartX;
|
||||
y = subpathStartY;
|
||||
ctx.closePath();
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue