fixed a glitch in the error-bubble handling mechanism

found when analyzing a really cool TEALS final project
upd4.2
Jens Mönig 2018-01-25 15:43:48 +01:00
rodzic aa62bfa4f0
commit b5e7eded95
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -1953,7 +1953,7 @@ SyntaxElementMorph.prototype.showBubble = function (value, exportPic, target) {
if (ide && (ide.currentSprite !== target)) {
if (target instanceof StageMorph) {
anchor = ide.corral.stageIcon;
} else {
} else if (target) {
if (target.isTemporary) {
target = detect(
target.allExemplars(),
@ -1964,6 +1964,8 @@ SyntaxElementMorph.prototype.showBubble = function (value, exportPic, target) {
ide.corral.frame.contents.children,
function (icon) {return icon.object === target; }
);
} else {
target = ide;
}
pos = anchor.center();
}

Wyświetl plik

@ -3875,6 +3875,7 @@ Fixes:
* Objects: added "rotate" option to Sprite context menu
* Threads, Blocks: fixed Joan's fix for #1972, because it broke HOFs
* new Sound Recorder, yay!! Thanks, Bernat!
* Blocks: fixed a glitch in the error-bubble handling mechanism