aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/managewindow.go
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-05-08 12:46:33 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-08 19:47:08 +0200
commitc3464076f1f27f06af187b5e923682095a9920b4 (patch)
treeb664f6b3587832bba30459638609db977a7350dd /ui/managewindow.go
parentui: confview: do not poll when minimized (diff)
downloadwireguard-windows-c3464076f1f27f06af187b5e923682095a9920b4.tar.xz
wireguard-windows-c3464076f1f27f06af187b5e923682095a9920b4.zip
ui: make window restoring and pop-up more aggressive
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'ui/managewindow.go')
-rw-r--r--ui/managewindow.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/managewindow.go b/ui/managewindow.go
index 5b8279d9..54d6b1e9 100644
--- a/ui/managewindow.go
+++ b/ui/managewindow.go
@@ -36,7 +36,7 @@ func NewManageTunnelsWindow() (*ManageTunnelsWindow, error) {
}
disposables.Add(mtw)
- wireguardIcon, err := walk.NewIconFromResourceWithSize("$wireguard.ico", walk.Size{mtw.DPI()/3, mtw.DPI()/3}) //TODO: calculate DPI dynamically
+ wireguardIcon, err := walk.NewIconFromResourceWithSize("$wireguard.ico", walk.Size{mtw.DPI() / 3, mtw.DPI() / 3}) //TODO: calculate DPI dynamically
if err == nil {
mtw.SetIcon(wireguardIcon)
}