fix: fixed popup view scroll after the resize

This commit is contained in:
Serhiy Mytrovtsiy
2022-03-03 19:37:22 +01:00
parent 879df4c410
commit 64a02161ae

View File

@@ -230,7 +230,7 @@ internal class PopupView: NSView {
))
if let documentView = self.body.documentView {
documentView.scroll(NSPoint(x: 0, y: self.body.documentVisibleRect.origin.y))
documentView.scroll(NSPoint(x: 0, y: documentView.bounds.size.height))
}
}
}