kopia lustrzana https://github.com/backface/turtlestitch
				
				
				
			Fixed #70
							rodzic
							
								
									2d1e450c8f
								
							
						
					
					
						commit
						966d9ee24e
					
				|  | @ -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()); | ||||
|  |  | |||
|  | @ -1679,3 +1679,4 @@ ______ | |||
| 130427 | ||||
| ------ | ||||
| * Blocks: paint bucket symbol | ||||
| * highlight adjustments when merging scripts (#70) | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 jmoenig
						jmoenig