kopia lustrzana https://github.com/backface/turtlestitch
tweaked inheritance indication for stage watchers
rodzic
dce0f5e871
commit
ac708fca42
|
@ -3524,6 +3524,7 @@ Fixes:
|
|||
------
|
||||
* Objects: fixed an inheritance glitch for clones
|
||||
* Objects: fixed variable inheritance for traditional Scratch-like clones
|
||||
* Objects: tweaked inheritance indication for stage watchers
|
||||
|
||||
|
||||
|
||||
|
|
10
objects.js
10
objects.js
|
@ -8928,10 +8928,12 @@ WatcherMorph.prototype.update = function () {
|
|||
if (newValue !== this.currentValue) {
|
||||
this.changed();
|
||||
this.cellMorph.contents = newValue;
|
||||
if (isGhosted) {
|
||||
this.cellMorph.setColor(this.readoutColor.lighter(35));
|
||||
} else {
|
||||
this.cellMorph.setColor(this.readoutColor);
|
||||
if (isSnapObject(this.target)) {
|
||||
if (isGhosted) {
|
||||
this.cellMorph.setColor(this.readoutColor.lighter(35));
|
||||
} else {
|
||||
this.cellMorph.setColor(this.readoutColor);
|
||||
}
|
||||
}
|
||||
this.cellMorph.drawNew();
|
||||
if (!isNaN(newValue)) {
|
||||
|
|
Ładowanie…
Reference in New Issue