Fix overscroll related to drawbox (#2210)
This commit is contained in:
1 parent
a949d4a5d1
commit
35c883e438
1 file changed
+4
-1
@@ -90,7 +90,10 @@ func (e *setExpr) eval(app *app, args []string) {
|
||||
err = applyBoolOpt(&gOpts.drawbox, e)
|
||||
if err == nil {
|
||||
app.ui.renew()
|
||||
clear(app.nav.regCache)
|
||||
if app.nav.height != app.ui.wins[0].h {
|
||||
app.nav.height = app.ui.wins[0].h
|
||||
clear(app.nav.regCache)
|
||||
}
|
||||
app.ui.loadFile(app, true)
|
||||
}
|
||||
case "hidden", "nohidden", "hidden!":
|
||||
|
||||
Reference in new issue
Block a user