Fixed TextBox
This commit is contained in:
		
							parent
							
								
									cda2d1f0ae
								
							
						
					
					
						commit
						26787d8670
					
				@ -360,8 +360,8 @@ func (element *TextBox) draw () {
 | 
			
		||||
	pattern.Draw(element.core, bounds)
 | 
			
		||||
	
 | 
			
		||||
	offset := bounds.Min.Add (image.Point {
 | 
			
		||||
		X: -element.scroll,
 | 
			
		||||
		Y: 0,
 | 
			
		||||
		X: padding[artist.SideLeft] - element.scroll,
 | 
			
		||||
		Y: padding[artist.SideTop],
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	if element.Focused() && !element.dot.Empty() {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user