From e7148bbf4f3ecbfd5438c92dda139c1ff5f39d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20M=C3=B6nig?= Date: Tue, 10 Oct 2017 11:20:11 +0200 Subject: [PATCH] fixed #1885 --- blocks.js | 8 +++++++- history.txt | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/blocks.js b/blocks.js index 4023ae15..d99b4e47 100644 --- a/blocks.js +++ b/blocks.js @@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2017-September-28'; +modules.blocks = '2017-October-10'; var SyntaxElementMorph; var BlockMorph; @@ -1939,6 +1939,12 @@ SyntaxElementMorph.prototype.showBubble = function (value, exportPic, target) { if (target instanceof StageMorph) { anchor = ide.corral.stageIcon; } else { + if (target.isTemporary) { + target = detect( + target.allExemplars(), + function (each) {return !each.isTemporary; } + ); + } anchor = detect( ide.corral.frame.contents.children, function (icon) {return icon.object === target; } diff --git a/history.txt b/history.txt index 56159dd3..ab80e9a8 100755 --- a/history.txt +++ b/history.txt @@ -3687,6 +3687,10 @@ Fixes: ------ * changed label of "Method" to "Method Editor", thanks, Brian! +171010 +------ +* Blocks: fixed #1885 + v4.1 Features: * polymorphic sprite-local custom blocks