Minor relocate improvement

This commit is contained in:
Zachary Yedidia
2019-12-23 16:16:54 -05:00
parent 93734f5668
commit 432f1f3363

View File

@@ -62,6 +62,7 @@ func (w *BufWindow) Resize(width, height int) {
w.hasCalcHeight = false
// This recalculates lineHeight
w.GetMouseLoc(buffer.Loc{width, height})
w.Relocate()
}
func (w *BufWindow) SetActive(b bool) {