Make entire titlebar draggable
This commit is contained in:
@@ -62,6 +62,10 @@ class TitlebarView: UIView
|
||||
private let separatorView = UIView(frame: .zero)
|
||||
private let securityIndicatorView = SecurityIndicatorView()
|
||||
|
||||
override var _sceneDraggingBehaviorOnPan: _UIViewSceneDraggingBehaviorOnPan {
|
||||
_UIViewSceneDraggingBehaviorOnPan.dragScene
|
||||
}
|
||||
|
||||
convenience init() {
|
||||
self.init(frame: .zero)
|
||||
addSubview(backgroundView)
|
||||
|
||||
Reference in New Issue
Block a user