kopia lustrzana https://github.com/backface/turtlestitch
				
				
				
			tweaked IDE layout
							rodzic
							
								
									6bcf74af4e
								
							
						
					
					
						commit
						1b334ccf00
					
				|  | @ -1363,7 +1363,7 @@ IDE_Morph.prototype.createSpriteBar = function () { | ||||||
|         button.fixLayout(); |         button.fixLayout(); | ||||||
|         button.refresh(); |         button.refresh(); | ||||||
|         rotationStyleButtons.push(button); |         rotationStyleButtons.push(button); | ||||||
|         button.setPosition(myself.spriteBar.position().add(5)); |         button.setPosition(myself.spriteBar.position().add(3)); | ||||||
|         button.setTop(button.top() |         button.setTop(button.top() | ||||||
|             + ((rotationStyleButtons.length - 1) * (button.height() + 2)) |             + ((rotationStyleButtons.length - 1) * (button.height() + 2)) | ||||||
|             ); |             ); | ||||||
|  | @ -1876,7 +1876,7 @@ IDE_Morph.prototype.fixLayout = function (situation) { | ||||||
|         this.spriteBar.setTop(this.logo.bottom() + padding); |         this.spriteBar.setTop(this.logo.bottom() + padding); | ||||||
|         this.spriteBar.setExtent(new Point( |         this.spriteBar.setExtent(new Point( | ||||||
|             Math.max(0, this.stage.left() - padding - this.spriteBar.left()), |             Math.max(0, this.stage.left() - padding - this.spriteBar.left()), | ||||||
|             this.categories.bottom() - this.spriteBar.top() - padding |             this.categories.bottom() - this.spriteBar.top() - padding - 4 | ||||||
|         )); |         )); | ||||||
|         this.spriteBar.fixLayout(); |         this.spriteBar.fixLayout(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 jmoenig
						jmoenig