diff options
| -rw-r--r-- | blocks.js | 2 | ||||
| -rwxr-xr-x | history.txt | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -2766,6 +2766,7 @@ CommandBlockMorph.prototype.snap = function () { this.startLayout(); if (target.loc === 'bottom') { if (target.type === 'slot') { + this.removeHighlight(); target.element.nestedBlock(this); } else { target.element.nextBlock(this); @@ -2782,6 +2783,7 @@ CommandBlockMorph.prototype.snap = function () { } } } else if (target.loc === 'top') { + target.element.removeHighlight(); offsetY = this.bottomBlock().bottom() - this.bottom(); this.setBottom(target.element.top() + this.corner - offsetY); this.setLeft(target.element.left()); diff --git a/history.txt b/history.txt index d4639aa..4cda346 100755 --- a/history.txt +++ b/history.txt @@ -1679,3 +1679,4 @@ ______ 130427 ------ * Blocks: paint bucket symbol +* highlight adjustments when merging scripts (#70) |
