kopia lustrzana https://github.com/backface/turtlestitch
made (hidden) "Blurred shadows" setting persistent
use to get rid of "red bar" artifacts on old laptops using Chromepull/95/head
rodzic
a894ce5297
commit
3d914e6811
|
@ -9,6 +9,7 @@
|
|||
* assume stage dimensions for "SWITCH TO COSTUME" with list if current costume dimensions don't fit
|
||||
* added "bar / lines" option for plotting charts in the "frequency distribution analysis" library
|
||||
* new "48 kHz" option in the "sampling rate" dropdown
|
||||
* made (hidden) "Blurred shadows" setting persistent, use to get rid of "red bar" artifacts on old laptops using Chrome
|
||||
* **Notable Fixes:**
|
||||
* "append" block now shows up when searching for it
|
||||
* disable blurred shadows inside input slots if the hidden "blurred shadows" setting is turned off, use this setting on old laptops displaying "red bars" in Chrome
|
||||
|
@ -21,6 +22,7 @@
|
|||
* widgets: honor (hidden) blurred shadows setting for input widgets
|
||||
* objects: honor (hidden) blurred shadows setting for watcher cell widgets
|
||||
* tables: honor (hidden) blurred shadows setting for pictograms in tables
|
||||
* gui: made (hidden) "Blurred shadows" setting persistent, use to get rid of "red bar" artifacts on old laptops using Chrome
|
||||
|
||||
### 2020-10-05
|
||||
* Greek translation updata, thanks, HM100!
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<script src="src/blocks.js?version=2020-10-06"></script>
|
||||
<script src="src/threads.js?version=2020-10-05"></script>
|
||||
<script src="src/objects.js?version=2020-10-06"></script>
|
||||
<script src="src/gui.js?version=2020-09-25"></script>
|
||||
<script src="src/gui.js?version=2020-10-06"></script>
|
||||
<script src="src/paint.js?version=2020-05-17"></script>
|
||||
<script src="src/lists.js?version=2020-07-01"></script>
|
||||
<script src="src/byob.js?version=2020-09-14"></script>
|
||||
|
|
17
src/gui.js
17
src/gui.js
|
@ -78,7 +78,7 @@ Animation, BoxMorph, BlockEditorMorph, BlockDialogMorph, Note, ZERO, BLACK*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.gui = '2020-September-25';
|
||||
modules.gui = '2020-October-06';
|
||||
|
||||
// Declarations
|
||||
|
||||
|
@ -2405,7 +2405,8 @@ IDE_Morph.prototype.applySavedSettings = function () {
|
|||
keyboard = this.getSetting('keyboard'),
|
||||
tables = this.getSetting('tables'),
|
||||
tableLines = this.getSetting('tableLines'),
|
||||
autoWrapping = this.getSetting('autowrapping');
|
||||
autoWrapping = this.getSetting('autowrapping'),
|
||||
solidshadow = this.getSetting('solidshadow');
|
||||
|
||||
// design
|
||||
if (design === 'flat') {
|
||||
|
@ -2482,6 +2483,12 @@ IDE_Morph.prototype.applySavedSettings = function () {
|
|||
if (plainprototype) {
|
||||
BlockLabelPlaceHolderMorph.prototype.plainLabel = true;
|
||||
}
|
||||
|
||||
// solid shadow
|
||||
if (solidshadow) {
|
||||
window.useBlurredShadows = false;
|
||||
this.rerender();
|
||||
}
|
||||
};
|
||||
|
||||
IDE_Morph.prototype.saveSetting = function (key, value) {
|
||||
|
@ -5201,6 +5208,12 @@ IDE_Morph.prototype.toggleDynamicInputLabels = function () {
|
|||
|
||||
IDE_Morph.prototype.toggleBlurredShadows = function () {
|
||||
window.useBlurredShadows = !useBlurredShadows;
|
||||
this.rerender();
|
||||
if (window.useBlurredShadows) {
|
||||
this.removeSetting('solidshadow');
|
||||
} else {
|
||||
this.saveSetting('solidshadow', false);
|
||||
}
|
||||
};
|
||||
|
||||
IDE_Morph.prototype.toggleLongFormInputDialog = function () {
|
||||
|
|
Ładowanie…
Reference in New Issue