aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/confview.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-27 16:20:22 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-27 16:20:22 +0200
commit53bed4450c6268a290c0ee285fd352350354edd6 (patch)
tree9b9905266f1303122d47a73d22d3c019f2a44a26 /ui/confview.go
parentservice: create environment for user (diff)
downloadwireguard-windows-53bed4450c6268a290c0ee285fd352350354edd6.tar.xz
wireguard-windows-53bed4450c6268a290c0ee285fd352350354edd6.zip
ui: enable double buffering on confview
This fixes the flickering, but now the header labels are cut off. I'll let lxn fix this part.
Diffstat (limited to 'ui/confview.go')
-rw-r--r--ui/confview.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/confview.go b/ui/confview.go
index 5dd5c626..481a2da3 100644
--- a/ui/confview.go
+++ b/ui/confview.go
@@ -390,7 +390,7 @@ func NewConfView(parent walk.Container) (*ConfView, error) {
if err := walk.InitWrapperWindow(cv); err != nil {
return nil, err
}
-
+ cv.SetDoubleBuffering(true)
return cv, nil
}