kopia lustrzana https://github.com/backface/turtlestitch
enable dial menu to work with textual values representable as numbers
rodzic
aa98ed4d50
commit
4951f5cb70
|
@ -41,6 +41,7 @@
|
|||
* BYOB: identify multi-line input slots by the pilcrow symbol in the slot editor
|
||||
* BYOB: support default values in multi-line input slots inside custom blocks
|
||||
* Blocks: enable piano keyboard menu to work with textual values representable as numbers
|
||||
* Blocks: enable dial menu to work with textual values representable as numbers
|
||||
|
||||
### 2019-02-01
|
||||
* BYOB: new experimental feature: special multi-line and monospaced input slot types
|
||||
|
|
|
@ -8511,7 +8511,7 @@ InputSlotMorph.prototype.menuFromDict = function (
|
|||
dial.action = update;
|
||||
dial.fillColor = this.parent.color;
|
||||
dial.setRadius(this.fontSize * 3);
|
||||
dial.setValue(this.evaluate(), false, true);
|
||||
dial.setValue(+this.evaluate(), false, true);
|
||||
menu.addLine();
|
||||
menu.items.push(dial);
|
||||
menu.addLine();
|
||||
|
|
Ładowanie…
Reference in New Issue