kopia lustrzana https://github.com/backface/turtlestitch
support default values in multi-line input slots inside custom blocks
rodzic
85c6a1ed38
commit
96660cf775
|
@ -39,6 +39,7 @@
|
|||
### 2019-02-04
|
||||
* 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
|
||||
|
||||
### 2019-02-01
|
||||
* BYOB: new experimental feature: special multi-line and monospaced input slot types
|
||||
|
|
|
@ -3337,7 +3337,10 @@ InputSlotDialogMorph.prototype.createSlotTypeButtons = function () {
|
|||
defLabel.setColor(new Color(255, 255, 255));
|
||||
defLabel.refresh = function () {
|
||||
if (myself.isExpanded && contains(
|
||||
['%s', '%n', '%txt', '%anyUE', '%b', '%boolUE'],
|
||||
[
|
||||
'%s', '%n', '%txt', '%anyUE', '%b', '%boolUE',
|
||||
'%mlt', '%code'
|
||||
],
|
||||
myself.fragment.type
|
||||
)) {
|
||||
defLabel.show();
|
||||
|
@ -3355,7 +3358,7 @@ InputSlotDialogMorph.prototype.createSlotTypeButtons = function () {
|
|||
defInput.setWidth(50);
|
||||
defInput.refresh = function () {
|
||||
if (myself.isExpanded && contains(
|
||||
['%s', '%n', '%txt', '%anyUE'],
|
||||
['%s', '%n', '%txt', '%anyUE', '%mlt', '%code'],
|
||||
myself.fragment.type
|
||||
)) {
|
||||
defInput.show();
|
||||
|
|
Ładowanie…
Reference in New Issue