mirror of
				https://github.com/vsariola/sointu.git
				synced 2025-10-30 23:45:53 -04:00 
			
		
		
		
	fix(tracker): numeric up down crashed when its height was small
This commit is contained in:
		| @ -119,6 +119,9 @@ func (s NumericUpDownStyle) button(height int, icon *widget.Icon, delta int, cli | ||||
| 				if height < size { | ||||
| 					size = height | ||||
| 				} | ||||
| 				if size < 1 { | ||||
| 					size = 1 | ||||
| 				} | ||||
| 				if icon != nil { | ||||
| 					icon.Color = s.IconColor | ||||
| 					return icon.Layout(gtx, unit.Px(float32(size))) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user