kopia lustrzana https://github.com/backface/turtlestitch
fixed #1820
rodzic
7cb06faebc
commit
9146cbf884
65
gui.js
65
gui.js
|
@ -74,7 +74,7 @@ isRetinaSupported, SliderMorph, Animation*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2017-July-25';
|
modules.gui = '2017-August-02';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -2470,6 +2470,38 @@ IDE_Morph.prototype.settingsMenu = function () {
|
||||||
'check for higher resolution,\nuses more computing resources'
|
'check for higher resolution,\nuses more computing resources'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
addPreference(
|
||||||
|
'Input sliders',
|
||||||
|
'toggleInputSliders',
|
||||||
|
MorphicPreferences.useSliderForInput,
|
||||||
|
'uncheck to disable\ninput sliders for\nentry fields',
|
||||||
|
'check to enable\ninput sliders for\nentry fields'
|
||||||
|
);
|
||||||
|
if (MorphicPreferences.useSliderForInput) {
|
||||||
|
addPreference(
|
||||||
|
'Execute on slider change',
|
||||||
|
'toggleSliderExecute',
|
||||||
|
ArgMorph.prototype.executeOnSliderEdit,
|
||||||
|
'uncheck to suppress\nrunning scripts\nwhen moving the slider',
|
||||||
|
'check to run\nthe edited script\nwhen moving the slider'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
addPreference(
|
||||||
|
'Turbo mode',
|
||||||
|
'toggleFastTracking',
|
||||||
|
this.stage.isFastTracked,
|
||||||
|
'uncheck to run scripts\nat normal speed',
|
||||||
|
'check to prioritize\nscript execution'
|
||||||
|
);
|
||||||
|
addPreference(
|
||||||
|
'Visible stepping',
|
||||||
|
'toggleSingleStepping',
|
||||||
|
Process.prototype.enableSingleStepping,
|
||||||
|
'uncheck to turn off\nvisible stepping',
|
||||||
|
'check to turn on\n visible stepping (slow)',
|
||||||
|
false
|
||||||
|
);
|
||||||
|
menu.addLine(); // everything visible below is persistent
|
||||||
addPreference(
|
addPreference(
|
||||||
'Blurred shadows',
|
'Blurred shadows',
|
||||||
'toggleBlurredShadows',
|
'toggleBlurredShadows',
|
||||||
|
@ -2524,22 +2556,6 @@ IDE_Morph.prototype.settingsMenu = function () {
|
||||||
'check to enable\nvirtual keyboard support\nfor mobile devices',
|
'check to enable\nvirtual keyboard support\nfor mobile devices',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
addPreference(
|
|
||||||
'Input sliders',
|
|
||||||
'toggleInputSliders',
|
|
||||||
MorphicPreferences.useSliderForInput,
|
|
||||||
'uncheck to disable\ninput sliders for\nentry fields',
|
|
||||||
'check to enable\ninput sliders for\nentry fields'
|
|
||||||
);
|
|
||||||
if (MorphicPreferences.useSliderForInput) {
|
|
||||||
addPreference(
|
|
||||||
'Execute on slider change',
|
|
||||||
'toggleSliderExecute',
|
|
||||||
ArgMorph.prototype.executeOnSliderEdit,
|
|
||||||
'uncheck to suppress\nrunning scripts\nwhen moving the slider',
|
|
||||||
'check to run\nthe edited script\nwhen moving the slider'
|
|
||||||
);
|
|
||||||
}
|
|
||||||
addPreference(
|
addPreference(
|
||||||
'Clicking sound',
|
'Clicking sound',
|
||||||
function () {
|
function () {
|
||||||
|
@ -2562,13 +2578,6 @@ IDE_Morph.prototype.settingsMenu = function () {
|
||||||
'check to enable\nIDE animations',
|
'check to enable\nIDE animations',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
addPreference(
|
|
||||||
'Turbo mode',
|
|
||||||
'toggleFastTracking',
|
|
||||||
this.stage.isFastTracked,
|
|
||||||
'uncheck to run scripts\nat normal speed',
|
|
||||||
'check to prioritize\nscript execution'
|
|
||||||
);
|
|
||||||
addPreference(
|
addPreference(
|
||||||
'Cache Inputs',
|
'Cache Inputs',
|
||||||
function () {
|
function () {
|
||||||
|
@ -2721,14 +2730,6 @@ IDE_Morph.prototype.settingsMenu = function () {
|
||||||
'EXPERIMENTAL! check to enable\n live custom control structures',
|
'EXPERIMENTAL! check to enable\n live custom control structures',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
addPreference(
|
|
||||||
'Visible stepping',
|
|
||||||
'toggleSingleStepping',
|
|
||||||
Process.prototype.enableSingleStepping,
|
|
||||||
'uncheck to turn off\nvisible stepping',
|
|
||||||
'check to turn on\n visible stepping (slow)',
|
|
||||||
false
|
|
||||||
);
|
|
||||||
menu.addLine(); // everything below this line is stored in the project
|
menu.addLine(); // everything below this line is stored in the project
|
||||||
addPreference(
|
addPreference(
|
||||||
'Thread safe scripts',
|
'Thread safe scripts',
|
||||||
|
|
|
@ -3578,6 +3578,7 @@ Fixes:
|
||||||
* Threads: simplified “instrument” access
|
* Threads: simplified “instrument” access
|
||||||
* Threads: enable multiple instruments per sprite in parallel threads
|
* Threads: enable multiple instruments per sprite in parallel threads
|
||||||
* GUI, Widgets: Changed piano keyboard design credits to Lucas Karahadian
|
* GUI, Widgets: Changed piano keyboard design credits to Lucas Karahadian
|
||||||
|
* GUI: fixed #1820
|
||||||
|
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
Ładowanie…
Reference in New Issue