1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-25 14:52:19 +03:00

Do not wait when resizing

This commit is contained in:
Tae Won Ha 2018-05-05 15:16:11 +02:00
parent 66f376b959
commit c6308fdd14
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -55,9 +55,9 @@ extension NvimView {
self.xOffset = floor((size.width - self.cellSize.width * CGFloat(discreteSize.width)) / 2)
self.yOffset = floor((size.height - self.cellSize.height * CGFloat(discreteSize.height)) / 2)
try? self.bridge
self.bridge
.resize(width: discreteSize.width, height: discreteSize.height)
.wait()
.subscribe()
}
private func launchNeoVim(_ size: Size) {