mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-21 06:30:59 +00:00
parent
9028ccf909
commit
91de6d078d
1 changed files with 1 additions and 7 deletions
|
|
@ -13,12 +13,6 @@
|
|||
return;
|
||||
}
|
||||
|
||||
var stateProperties = fabric.Object.prototype.stateProperties.concat();
|
||||
stateProperties.push(
|
||||
'cropX',
|
||||
'cropY'
|
||||
);
|
||||
|
||||
/**
|
||||
* Image class
|
||||
* @class fabric.Image
|
||||
|
|
@ -95,7 +89,7 @@
|
|||
* as well as for history (undo/redo) purposes
|
||||
* @type Array
|
||||
*/
|
||||
stateProperties: stateProperties,
|
||||
stateProperties: fabric.Object.prototype.stateProperties.concat('cropX', 'cropY'),
|
||||
|
||||
/**
|
||||
* When `true`, object is cached on an additional canvas.
|
||||
|
|
|
|||
Loading…
Reference in a new issue