1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-24 03:25:03 +03:00

GH-423 Remove unnec' method syncNeoVimViewWithBounds

This commit is contained in:
Tae Won Ha 2017-06-09 00:01:06 +02:00
parent f3366bfc9b
commit 4547ed8c7f
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
3 changed files with 0 additions and 10 deletions

View File

@ -7,10 +7,6 @@ import Cocoa
extension NeoVimView {
public func syncNeoVimWithBounds() {
self.resizeNeoVimUi(to: self.bounds.size)
}
public func enterResizeMode() {
self.currentlyResizing = true
self.needsDisplay = true

View File

@ -10,11 +10,6 @@ extension NeoVimView {
override public func setFrameSize(_ newSize: NSSize) {
super.setFrameSize(newSize)
// initial resizing is done when grid has data
guard self.grid.hasData else {
return
}
if self.inLiveResize || self.currentlyResizing {
// TODO: Turn off live resizing for now.
// self.resizeNeoVimUi(to: newSize)

View File

@ -234,7 +234,6 @@ class MainWindow: NSObject,
self.open(urls: state.urlsToOpen)
self.window.makeFirstResponder(self.neoVimView)
self.neoVimView.syncNeoVimWithBounds()
}
func show() {