mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-28 06:39:33 -04:00
Add basic code for fine-grained change tracking, as required by on-the fly SVG DOM manipulation.
This commit is contained in:
parent
a2358a0fc0
commit
6052e94a2a
2 changed files with 16 additions and 0 deletions
src/project
|
@ -55,6 +55,9 @@ var Project = this.Project = PaperScopeItem.extend(/** @lends Project# */{
|
|||
this.layers = [];
|
||||
this.symbols = [];
|
||||
this.activeLayer = new Layer();
|
||||
// Change tracking, not in use for now. Activate once required:
|
||||
// this._changes = [];
|
||||
// this._changesById = {};
|
||||
},
|
||||
|
||||
_needsRedraw: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue