From 93b9b0442b48b2f74909dd5f2b5b5b03d97cc1ac 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 --- .../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 }()