tweaked stack-highlight for (partially) faded blocks

pull/95/head
jmoenig 2020-07-28 13:25:38 +02:00
rodzic 96430ade32
commit c3cdd43730
3 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -33,6 +33,9 @@
* **Translation Updates:**
* German
### 2020-07-28
* blocks: tweaked stack-highlight for (partially) faded blocks
### 2020-07-27
* threads: fixed binding contexts to other receivers (variable scope for ASK / TELL)
* gui: updated "About Snap!" dialog box

Wyświetl plik

@ -7,7 +7,7 @@
<script src="src/morphic.js?version=2020-07-23"></script>
<script src="src/symbols.js?version=2020-07-21"></script>
<script src="src/widgets.js?version=2020-07-27"></script>
<script src="src/blocks.js?version=2020-07-27"></script>
<script src="src/blocks.js?version=2020-07-28"></script>
<script src="src/threads.js?version=2020-07-27"></script>
<script src="src/objects.js?version=2020-07-26"></script>
<script src="src/gui.js?version=2020-07-27"></script>

Wyświetl plik

@ -158,7 +158,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2020-July-27';
modules.blocks = '2020-July-28';
var SyntaxElementMorph;
var BlockMorph;
@ -4165,6 +4165,9 @@ BlockMorph.prototype.addHighlight = function (oldHighlight) {
highlight;
if (isHidden) {this.show(); }
if (SyntaxElementMorph.prototype.alpha < 1) {
this.clearAlpha();
}
highlight = this.highlight(
oldHighlight ? oldHighlight.color : this.activeHighlight,
this.activeBlur,