diff --git a/main.go b/main.go index b876295..d8f4957 100644 --- a/main.go +++ b/main.go @@ -331,6 +331,7 @@ var ( hoverApp = -1 trackingMouse bool scale float64 = 1 + realScale float64 = 1 // scale as the screen really is; scale itself is doubled while the icon layers are drawn barHeight int32 fontTime uintptr fontDate uintptr @@ -1309,6 +1310,7 @@ func main() { if dpi > 0 { scale = float64(dpi) / 96.0 } + realScale = scale barHeight = px(36) fontTime = makeFont(px(13), 400) fontDate = makeFont(px(11), 400)