kopia lustrzana https://github.com/backface/turtlestitch
enable experimental setting to turn off "ternary Boolean slots"
rodzic
fb6d2a4da0
commit
1f5cf2ba2e
15
gui.js
15
gui.js
|
@ -67,7 +67,7 @@ AlignmentMorph, TabMorph, Costume, MorphicPreferences, Sound, BlockMorph,
|
||||||
ToggleMorph, InputSlotDialogMorph, ScriptsMorph, isNil, SymbolMorph,
|
ToggleMorph, InputSlotDialogMorph, ScriptsMorph, isNil, SymbolMorph,
|
||||||
BlockExportDialogMorph, BlockImportDialogMorph, SnapTranslator, localize,
|
BlockExportDialogMorph, BlockImportDialogMorph, SnapTranslator, localize,
|
||||||
List, ArgMorph, SnapCloud, Uint8Array, HandleMorph, SVG_Costume,
|
List, ArgMorph, SnapCloud, Uint8Array, HandleMorph, SVG_Costume,
|
||||||
fontHeight, hex_sha512, sb, CommentMorph, CommandBlockMorph,
|
fontHeight, hex_sha512, sb, CommentMorph, CommandBlockMorph, BooleanSlotMorph,
|
||||||
BlockLabelPlaceHolderMorph, Audio, SpeechBubbleMorph, ScriptFocusMorph,
|
BlockLabelPlaceHolderMorph, Audio, SpeechBubbleMorph, ScriptFocusMorph,
|
||||||
XML_Element, WatcherMorph, BlockRemovalDialogMorph, saveAs, TableMorph,
|
XML_Element, WatcherMorph, BlockRemovalDialogMorph, saveAs, TableMorph,
|
||||||
isSnapObject, isRetinaEnabled, disableRetinaSupport, enableRetinaSupport,
|
isSnapObject, isRetinaEnabled, disableRetinaSupport, enableRetinaSupport,
|
||||||
|
@ -75,7 +75,7 @@ isRetinaSupported, SliderMorph, Animation*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2017-September-26';
|
modules.gui = '2017-September-28';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -2651,6 +2651,17 @@ IDE_Morph.prototype.settingsMenu = function () {
|
||||||
'check to turn on\n visible stepping (slow)',
|
'check to turn on\n visible stepping (slow)',
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
addPreference(
|
||||||
|
'Ternary Boolean slots',
|
||||||
|
function () {
|
||||||
|
BooleanSlotMorph.prototype.isTernary =
|
||||||
|
!BooleanSlotMorph.prototype.isTernary;
|
||||||
|
},
|
||||||
|
BooleanSlotMorph.prototype.isTernary,
|
||||||
|
'uncheck to limit\nBoolean slots to true / false',
|
||||||
|
'check to allow\nempty Boolean slots',
|
||||||
|
true
|
||||||
|
);
|
||||||
addPreference(
|
addPreference(
|
||||||
'Camera support',
|
'Camera support',
|
||||||
'toggleCameraSupport',
|
'toggleCameraSupport',
|
||||||
|
|
|
@ -3664,6 +3664,10 @@ Fixes:
|
||||||
|
|
||||||
=== v4.1 release candidate ===
|
=== v4.1 release candidate ===
|
||||||
|
|
||||||
|
170928
|
||||||
|
------
|
||||||
|
* GUI: enable experimental setting for "ternary Boolean slots"
|
||||||
|
|
||||||
|
|
||||||
v4.1 Features:
|
v4.1 Features:
|
||||||
* polymorphic sprite-local custom blocks
|
* polymorphic sprite-local custom blocks
|
||||||
|
|
Ładowanie…
Reference in New Issue