tweaked inheritance indication for stage watchers

upd4.1
Jens Mönig 2017-07-11 09:21:51 +02:00
rodzic dce0f5e871
commit ac708fca42
2 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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)) {