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