fixed #2850 (occasional invisible error message)

thanks, Ken, for the bug report!
snap7
jmoenig 2021-06-15 14:26:04 +02:00
rodzic 6606ed9201
commit b42b608cfb
3 zmienionych plików z 10 dodań i 4 usunięć

Wyświetl plik

@ -2,6 +2,11 @@
## in development:
* **New Features:**
* new extension primitives
* **Notable Fixes:**
* fixed occasional invisible error messages
### 2021-06-15
* extensions: tweaked world-map primitives
* updated maps library
@ -14,6 +19,7 @@
' extensions: added tts
* updated text-to-speech library
* updated bar-charts library
* fixed #2850 (occasional invisible error message), thanks, Ken, for the bug report!
### 2021-06-14
* new dev version

Wyświetl plik

@ -8,7 +8,7 @@
<script src="src/morphic.js?version=2021-02-10"></script>
<script src="src/symbols.js?version=2021-03-03"></script>
<script src="src/widgets.js?version=2021-01-05"></script>
<script src="src/blocks.js?version=2021-06-14"></script>
<script src="src/blocks.js?version=2021-06-15"></script>
<script src="src/threads.js?version=2021-06-14"></script>
<script src="src/objects.js?version=2021-06-14"></script>
<script src="src/gui.js?version=2021-06-14"></script>

Wyświetl plik

@ -158,7 +158,7 @@ CustomCommandBlockMorph, ToggleButtonMorph, DialMorph, SnapExtensions*/
// Global stuff ////////////////////////////////////////////////////////
modules.blocks = '2021-June-14';
modules.blocks = '2021-June-15';
var SyntaxElementMorph;
var BlockMorph;
@ -2095,11 +2095,11 @@ SyntaxElementMorph.prototype.showBubble = function (value, exportPic, target) {
img,
morphToShow,
isClickable = false,
ide = this.parentThatIsA(IDE_Morph),
ide = this.parentThatIsA(IDE_Morph) || target.parentThatIsA(IDE_Morph),
anchor = this,
pos = this.rightCenter().add(new Point(2, 0)),
sf = this.parentThatIsA(ScrollFrameMorph),
wrrld = this.world();
wrrld = this.world() || target.world();
if ((value === undefined) || !wrrld) {
return null;