aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-19 12:57:48 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-26 13:28:17 +0200
commit9bdd2c1f869d9e1e1843b55a05b2b61994aae6d7 (patch)
tree80392fdc79bcab00b903e223de4286ded918514f /ui
parenttunnel: wait for IP service to attach to wintun (diff)
downloadwireguard-windows-9bdd2c1f869d9e1e1843b55a05b2b61994aae6d7.tar.xz
wireguard-windows-9bdd2c1f869d9e1e1843b55a05b2b61994aae6d7.zip
ui: avoid flicker on toolbar when closing modal
Diffstat (limited to 'ui')
-rw-r--r--ui/tunnelspage.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/tunnelspage.go b/ui/tunnelspage.go
index bbeb203c..ab3e2d48 100644
--- a/ui/tunnelspage.go
+++ b/ui/tunnelspage.go
@@ -116,6 +116,7 @@ func (tp *TunnelsPage) CreateToolbar() {
// HACK: Because of https://github.com/lxn/walk/issues/481
// we need to put the ToolBar into its own Composite.
toolBarContainer, _ := walk.NewComposite(tp.listContainer)
+ toolBarContainer.SetDoubleBuffering(true)
hlayout := walk.NewHBoxLayout()
hlayout.SetMargins(walk.Margins{})
toolBarContainer.SetLayout(hlayout)