Visual tweaks

This commit is contained in:
James Magahern
2020-07-29 19:24:05 -07:00
parent c96cafd1ca
commit bba9efbbb6
4 changed files with 52 additions and 7 deletions

View File

@@ -93,8 +93,7 @@ class BrowserView: UIView
webViewContentInset.bottom += toolbarView.frame.height
} else {
// Regular: toolbar is at the top
toolbarView.bounds = CGRect(origin: .zero, size: toolbarSize)
toolbarView.center = CGPoint(x: bounds.center.x, y: titlebarView.center.y + titlebarView.frame.height)
toolbarView.frame = CGRect(origin: CGPoint(x: 0.0, y: titlebarView.frame.maxY), size: toolbarSize)
webViewContentInset.top += toolbarView.frame.height
}
}