mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-24 07:34:41 +00:00
parent
7cb2e647a9
commit
3987c962dd
1 changed files with 1 additions and 1 deletions
|
|
@ -875,7 +875,7 @@
|
|||
_updateCacheCanvas: function() {
|
||||
if (this.noScaleCache && this.canvas && this.canvas._currentTransform) {
|
||||
var action = this.canvas._currentTransform.action;
|
||||
if (action.slice(0, 5) === 'scale') {
|
||||
if (action.slice && action.slice(0, 5) === 'scale') {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue