kopia lustrzana https://github.com/backface/turtlestitch
Don't redraw label parts unnecessarily
rodzic
836b5d3fd0
commit
95a815b6d6
|
|
@ -2062,7 +2062,7 @@ BlockMorph.prototype.setSpec = function (spec) {
|
|||
}
|
||||
part = myself.labelPart(word);
|
||||
myself.add(part);
|
||||
if (!(part instanceof CommandSlotMorph)) {
|
||||
if (!(part instanceof CommandSlotMorph || part instanceof StringMorph)) {
|
||||
part.drawNew();
|
||||
}
|
||||
if (part instanceof RingMorph) {
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue