aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-11 16:56:20 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-14 14:52:37 +0530
commit595f7943e287749fed345526a930569480188e3b (patch)
tree473456b29ffdf63e29246ac91c16b41038fbb6da /WireGuard/WireGuard/UI/macOS
parentmacOS: To set default size, change frame instead of min size (diff)
downloadwireguard-apple-595f7943e287749fed345526a930569480188e3b.tar.xz
wireguard-apple-595f7943e287749fed345526a930569480188e3b.zip
macOS: Edit view: Auto hide editor scrollbars
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS')
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift
index 2a5af01..a23088c 100644
--- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift
+++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift
@@ -51,6 +51,7 @@ class TunnelEditViewController: NSViewController {
let scrollView: NSScrollView = {
let scrollView = NSScrollView()
scrollView.hasVerticalScroller = true
+ scrollView.autohidesScrollers = true
scrollView.borderType = .bezelBorder
return scrollView
}()