mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-29 00:34:26 +03:00
Refactor slightly
This commit is contained in:
parent
e3d612db81
commit
28175102a4
@ -388,10 +388,7 @@ class MainWindow: NSObject,
|
||||
}
|
||||
|
||||
fileprivate func addViews() {
|
||||
let contentView = self.window.contentView!
|
||||
|
||||
contentView.addSubview(self.workspace)
|
||||
|
||||
self.window.contentView?.addSubview(self.workspace)
|
||||
self.workspace.autoPinEdgesToSuperviewEdges()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user