tweaked blocks-fading for certain input slots (under construction)

pull/95/head
jmoenig 2020-07-20 08:15:01 +02:00
rodzic a1f2af72ec
commit 88cbe803a5
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -7,7 +7,7 @@
<script src="src/morphic.js?version=2020-07-16"></script>
<script src="src/symbols.js?version=2020-07-01"></script>
<script src="src/widgets.js?version=2020-07-13"></script>
<script src="src/blocks.js?version=2020-07-19"></script>
<script src="src/blocks.js?version=2020-07-20"></script>
<script src="src/threads.js?version=2020-07-09"></script>
<script src="src/objects.js?version=2020-07-13"></script>
<script src="src/gui.js?version=2020-07-19"></script>

Wyświetl plik

@ -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();
};