Some appearance tweaks

This commit is contained in:
James Magahern
2020-09-22 14:33:00 -07:00
parent c223c12934
commit 679e59c20b
5 changed files with 24 additions and 26 deletions

View File

@@ -110,7 +110,7 @@ class BrowserView: UIView
// Fix web view content insets
if let webView = webView {
webView.scrollView.layer.masksToBounds = false // allow content to draw under titlebar/toolbar
webView.scrollView.layer.masksToBounds = true
webView.frame = bounds.inset(by: webViewContentInset)
}

View File

@@ -369,7 +369,7 @@ class BrowserViewController: UIViewController, WKNavigationDelegate, WKUIDelegat
previewProvider: nil) { (menuElements: [UIMenuElement]) -> UIMenu? in
let openInNewTab = UIAction(title: "Open in New Tab",
image: UIImage(systemName: "plus.app"),
image: UIImage(systemName: "plus.app"),
identifier: nil,
discoverabilityTitle: nil,
attributes: [],