mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
fix(tracker/gioui): DPI scaling of the numeric updown icons
Closes #150.
This commit is contained in:
parent
7d6daba3d2
commit
4ee355bb45
@ -128,7 +128,7 @@ func (s *NumericUpDownStyle) button(height int, icon *widget.Icon, delta int, cl
|
||||
size = 1
|
||||
}
|
||||
if icon != nil {
|
||||
p := gtx.Dp(unit.Dp(size))
|
||||
p := size
|
||||
if p < 1 {
|
||||
p = 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user