mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-21 06:30:59 +00:00
add default dirty flag to object
This commit is contained in:
parent
d37ff8ebfe
commit
79a634c8d7
1 changed files with 9 additions and 2 deletions
|
|
@ -771,7 +771,7 @@
|
|||
* default to false
|
||||
* since 1.7.0
|
||||
* @type Boolean
|
||||
* @default
|
||||
* @default false
|
||||
*/
|
||||
statefullCache: false,
|
||||
|
||||
|
|
@ -782,10 +782,17 @@
|
|||
* default to false
|
||||
* since 1.7.0
|
||||
* @type Boolean
|
||||
* @default
|
||||
* @default true
|
||||
*/
|
||||
noScaleCache: true,
|
||||
|
||||
/**
|
||||
* When set to `true`, object's cache will be rerendered next render call.
|
||||
* @type Boolean
|
||||
* @default false
|
||||
*/
|
||||
dirty: false,
|
||||
|
||||
/**
|
||||
* List of properties to consider when checking if state
|
||||
* of an object is changed (fabric.Object#hasStateChanged)
|
||||
|
|
|
|||
Loading…
Reference in a new issue