diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-23 19:15:21 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-23 19:15:21 +0200 |
commit | 2ab3bfe5a0ffa3ee07f1d4e8211ef0e731f1669e (patch) | |
tree | 52067a86dfb27dc674f4e0c8250577cc8115be74 /ui | |
parent | ui: use more horizontal space for conf view (diff) | |
download | wireguard-windows-2ab3bfe5a0ffa3ee07f1d4e8211ef0e731f1669e.tar.xz wireguard-windows-2ab3bfe5a0ffa3ee07f1d4e8211ef0e731f1669e.zip |
ui: reduce icon overlay size
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | ui/tunnelstatusimageprovider.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/tunnelstatusimageprovider.go b/ui/tunnelstatusimageprovider.go index 99447526..b5bb581a 100644 --- a/ui/tunnelstatusimageprovider.go +++ b/ui/tunnelstatusimageprovider.go @@ -186,8 +186,8 @@ func (tsip *TunnelStatusImageProvider) IconWithOverlayForState(baseIcon *walk.Ic return nil, err } - w := int(float64(size.Width) * 0.75) - h := int(float64(size.Height) * 0.75) + w := int(float64(size.Width) * 0.6) + h := int(float64(size.Height) * 0.6) bounds := walk.Rectangle{4 + size.Width - w, 4 + size.Height - h, w, h} if err := tsip.PaintForState(state, canvas, bounds); err != nil { |