fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small refactor + fix brackets
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
documentElement.js
diff --git
a/src/editor/modules/documentCanvas/canvas/documentElement.js
b/src/editor/modules/documentCanvas/canvas/documentElement.js
index
a1965cd
..
dcf05b2
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/documentElement.js
+++ b/
src/editor/modules/documentCanvas/canvas/documentElement.js
@@
-43,6
+43,7
@@
$.extend(DocumentElement.prototype, {
this.state[key] = changes[key] = toUpdate[key];
}
}.bind(this));
this.state[key] = changes[key] = toUpdate[key];
}
}.bind(this));
+ // console.log(changes);
if(_.isFunction(this.onStateChange)) {
this.onStateChange(changes);
if(_.isBoolean(changes.active)) {
if(_.isFunction(this.onStateChange)) {
this.onStateChange(changes);
if(_.isBoolean(changes.active)) {