1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-29 16:56:40 +03:00

Refactor slightly

This commit is contained in:
Tae Won Ha 2017-09-04 22:24:00 +02:00
parent e3d612db81
commit 28175102a4
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -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()
} }
} }