kopia lustrzana https://github.com/backface/turtlestitch
enable piano keyboard menu to work with textual values representable as numbers
rodzic
9acd28bbe4
commit
aa98ed4d50
|
@ -40,6 +40,7 @@
|
|||
* BYOB: new experimental feature: special context-aware drop-down menus for custom blocks
|
||||
* 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
|
||||
|
||||
### 2019-02-01
|
||||
* BYOB: new experimental feature: special multi-line and monospaced input slot types
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<link rel="shortcut icon" href="src/favicon.ico">
|
||||
<script type="text/javascript" src="src/morphic.js?version=2019-01-10"></script>
|
||||
<script type="text/javascript" src="src/widgets.js?version=2018-10-02"></script>
|
||||
<script type="text/javascript" src="src/blocks.js?version=2019-01-28"></script>
|
||||
<script type="text/javascript" src="src/blocks.js?version=2019-02-04"></script>
|
||||
<script type="text/javascript" src="src/threads.js?version=2019-01-28"></script>
|
||||
<script type="text/javascript" src="src/objects.js?version=2019-01-28"></script>
|
||||
<script type="text/javascript" src="src/gui.js?version=2019-01-28"></script>
|
||||
|
|
|
@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2019-January-28';
|
||||
modules.blocks = '2019-February-04';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -8914,7 +8914,7 @@ InputSlotMorph.prototype.pianoKeyboardMenu = function () {
|
|||
this.right() - (menu.width() / 2),
|
||||
this.bottom()
|
||||
));
|
||||
menu.selectKey(this.evaluate());
|
||||
menu.selectKey(+this.evaluate());
|
||||
};
|
||||
|
||||
InputSlotMorph.prototype.setChoices = function (dict, readonly) {
|
||||
|
|
Ładowanie…
Reference in New Issue