aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/iconprovider.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/iconprovider.go')
-rw-r--r--ui/iconprovider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/iconprovider.go b/ui/iconprovider.go
index 6d7e77b..f9d3597 100644
--- a/ui/iconprovider.go
+++ b/ui/iconprovider.go
@@ -241,7 +241,7 @@ func (tsip *IconProvider) drawUpdateAvailableImage(size int) (*walk.Bitmap, erro
defer canvas.Dispose()
// This should be scaled for DPI but instead we do the opposite, due to a walk bug.
- margin := int(3.0 - (tsip.scale - 1.0) * 3.0)
+ margin := int(3.0 - (tsip.scale-1.0)*3.0)
if margin < 0 {
margin = 0
}