mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-21 11:51:51 +00:00
Update text.class.js
avoid ruining the stack on offsetX and offsetY equal to 0
This commit is contained in:
parent
323c648961
commit
5b429185f7
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@
|
|||
}
|
||||
console.log(ctx.strokeStyle);
|
||||
ctx[method](chars, left, top);
|
||||
(offsetX || offsetY) && ctx.restore();
|
||||
this[shortM].toLive && ctx.restore();
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue