diff options
| author | jmoenig <jens@moenig.org> | 2014-07-29 13:16:01 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2014-07-29 13:16:01 +0200 |
| commit | bfdbeca146f8d58e1f15b2b85f4feae2687d1d9f (patch) | |
| tree | e70a03ede0d390484b8277ce12a8da827979fe2b /blocks.js | |
| parent | 0cc14e2861367ca08acd89d01ff21332d6cc56ed (diff) | |
| download | snap-bfdbeca146f8d58e1f15b2b85f4feae2687d1d9f.tar.gz snap-bfdbeca146f8d58e1f15b2b85f4feae2687d1d9f.zip | |
keep reporter-result-bubbles within the enclosing scripting pane
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1627,6 +1627,7 @@ SyntaxElementMorph.prototype.showBubble = function (value) { img, morphToShow, isClickable = false, + sf = this.parentThatIsA(ScrollFrameMorph), wrrld = this.world(); if ((value === undefined) || !wrrld) { @@ -1694,6 +1695,9 @@ SyntaxElementMorph.prototype.showBubble = function (value) { this.rightCenter().add(new Point(2, 0)), isClickable ); + if (sf) { + bubble.keepWithin(sf); + } }; // SyntaxElementMorph code mapping |
