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
|
### 2019-02-04
|
||||||
* BYOB: new experimental feature: special context-aware drop-down menus for custom blocks
|
* 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: 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
|
### 2019-02-01
|
||||||
* BYOB: new experimental feature: special multi-line and monospaced input slot types
|
* 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.setColor(new Color(255, 255, 255));
|
||||||
defLabel.refresh = function () {
|
defLabel.refresh = function () {
|
||||||
if (myself.isExpanded && contains(
|
if (myself.isExpanded && contains(
|
||||||
['%s', '%n', '%txt', '%anyUE', '%b', '%boolUE'],
|
[
|
||||||
|
'%s', '%n', '%txt', '%anyUE', '%b', '%boolUE',
|
||||||
|
'%mlt', '%code'
|
||||||
|
],
|
||||||
myself.fragment.type
|
myself.fragment.type
|
||||||
)) {
|
)) {
|
||||||
defLabel.show();
|
defLabel.show();
|
||||||
|
@ -3355,7 +3358,7 @@ InputSlotDialogMorph.prototype.createSlotTypeButtons = function () {
|
||||||
defInput.setWidth(50);
|
defInput.setWidth(50);
|
||||||
defInput.refresh = function () {
|
defInput.refresh = function () {
|
||||||
if (myself.isExpanded && contains(
|
if (myself.isExpanded && contains(
|
||||||
['%s', '%n', '%txt', '%anyUE'],
|
['%s', '%n', '%txt', '%anyUE', '%mlt', '%code'],
|
||||||
myself.fragment.type
|
myself.fragment.type
|
||||||
)) {
|
)) {
|
||||||
defInput.show();
|
defInput.show();
|
||||||
|
|
Ładowanie…
Reference in New Issue