fix(tracker/gioui): DPI scaling of the numeric updown icons

Closes #150.
This commit is contained in:
2024-09-21 14:01:32 +03:00
parent 7d6daba3d2
commit 4ee355bb45
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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
}