pull/3/merge
jmoenig 2013-04-27 09:33:09 +02:00
rodzic 2d1e450c8f
commit 966d9ee24e
2 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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());

Wyświetl plik

@ -1679,3 +1679,4 @@ ______
130427
------
* Blocks: paint bucket symbol
* highlight adjustments when merging scripts (#70)