mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-06 15:30:59 +00:00
Update path.class.js
Fixes == with ===
This commit is contained in:
parent
28784dc9b3
commit
4e737abcde
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@
|
|||
chunks.push(this.path[i].join(' '));
|
||||
}
|
||||
var path = chunks.join(' ');
|
||||
if (!(this.group && this.group.type == 'path-group')) {
|
||||
if (!(this.group && this.group.type === 'path-group')) {
|
||||
addTransform = 'translate(' + (-this.width / 2) + ', ' + (-this.height / 2) + ')';
|
||||
}
|
||||
markup.push(
|
||||
|
|
|
|||
Loading…
Reference in a new issue