From 595f7943e287749fed345526a930569480188e3b Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Fri, 11 Jan 2019 16:56:20 +0530 Subject: [PATCH] macOS: Edit view: Auto hide editor scrollbars Signed-off-by: Roopesh Chander --- .../UI/macOS/ViewController/TunnelEditViewController.swift | 1 + 1 file changed, 1 insertion(+) 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 }()