From 88cbe803a592e13f166b1d223a9551c4d4adaf74 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Mon, 20 Jul 2020 08:15:01 +0200 Subject: [PATCH] tweaked blocks-fading for certain input slots (under construction) --- snap.html | 2 +- src/blocks.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/snap.html b/snap.html index c8c3af5c..4058bf19 100755 --- a/snap.html +++ b/snap.html @@ -7,7 +7,7 @@ - + diff --git a/src/blocks.js b/src/blocks.js index a6156e9d..4ec09293 100644 --- a/src/blocks.js +++ b/src/blocks.js @@ -155,7 +155,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2020-July-19'; +modules.blocks = '2020-July-20'; var SyntaxElementMorph; var BlockMorph; @@ -7491,6 +7491,9 @@ ArgMorph.prototype.init = function (type) { ArgMorph.uber.init.call(this); this.color = new Color(0, 17, 173); this.createIcon(); + if (type === 'list') { + this.alpha = 1; + } }; // ArgMorph preferences settings: @@ -10133,6 +10136,7 @@ BooleanSlotMorph.prototype.init = function (initialValue) { this.isUnevaluated = false; this.progress = 0; // for animation state, not persisted BooleanSlotMorph.uber.init.call(this); + this.alpha = 1; this.fixLayout(); };