kopia lustrzana https://github.com/backface/turtlestitch
fixed #1225
rodzic
6e22558cc5
commit
fb145bea90
6
store.js
6
store.js
|
@ -61,7 +61,7 @@ normalizeCanvas*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.store = '2016-June-17';
|
modules.store = '2016-July-07';
|
||||||
|
|
||||||
|
|
||||||
// XML_Serializer ///////////////////////////////////////////////////////
|
// XML_Serializer ///////////////////////////////////////////////////////
|
||||||
|
@ -1657,6 +1657,10 @@ WatcherMorph.prototype.toXML = function (serializer) {
|
||||||
this.topLeft().subtract(this.parent.topLeft())
|
this.topLeft().subtract(this.parent.topLeft())
|
||||||
: this.topLeft();
|
: this.topLeft();
|
||||||
|
|
||||||
|
if (this.isTemporary()) {
|
||||||
|
// do not save watchers on temporary variables
|
||||||
|
return '';
|
||||||
|
}
|
||||||
return serializer.format(
|
return serializer.format(
|
||||||
'<watcher% % style="@"% x="@" y="@" color="@,@,@"%%/>',
|
'<watcher% % style="@"% x="@" y="@" color="@,@,@"%%/>',
|
||||||
(isVar && this.target.owner) || (!isVar && this.target) ?
|
(isVar && this.target.owner) || (!isVar && this.target) ?
|
||||||
|
|
Ładowanie…
Reference in New Issue