diff options
author | Roopesh Chander <roop@roopc.net> | 2019-01-11 16:56:20 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-01-14 14:52:37 +0530 |
commit | 595f7943e287749fed345526a930569480188e3b (patch) | |
tree | 473456b29ffdf63e29246ac91c16b41038fbb6da /WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | |
parent | macOS: To set default size, change frame instead of min size (diff) | |
download | wireguard-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 '')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | 1 |
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 }() |