mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-22 07:04:45 +00:00
Minor relocate improvement
This commit is contained in:
parent
93734f5668
commit
432f1f3363
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue