kopia lustrzana https://github.com/backface/turtlestitch
migrated a toggle button label variant
rodzic
d62ec38a7c
commit
66b1104287
|
@ -41,7 +41,7 @@
|
|||
null,
|
||||
null,
|
||||
() => world.isDevMode = !world.isDevMode,
|
||||
'dev mode',
|
||||
new SymbolMorph('gears'), //'dev mode',
|
||||
() => world.isDevMode,
|
||||
null,
|
||||
'hacker possibilities'
|
||||
|
|
|
@ -863,7 +863,8 @@ ToggleButtonMorph.prototype.createLabel = function () {
|
|||
this.labelShadowOffset : none;
|
||||
this.label.shadowColor = this.labelShadowColor;
|
||||
this.label.color = this.labelColor;
|
||||
this.label.drawNew();
|
||||
this.label.fixLayout();
|
||||
this.label.rerender();
|
||||
}
|
||||
} else if (this.labelString instanceof Morph) {
|
||||
this.label = this.labelString.fullCopy();
|
||||
|
|
Ładowanie…
Reference in New Issue