mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-21 11:51:51 +00:00
parent
8e25a71696
commit
5b35e32e82
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