mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
used ViewLinesHeight for scrolling down function #31
This commit is contained in:
parent
19dac181cf
commit
082034d345
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ func (gui *Gui) scrollDownMain(g *gocui.Gui, v *gocui.View) error {
|
|||
|
||||
_, sizeY := mainView.Size()
|
||||
scrollCount := gui.Config.UserConfig.Gui.ScrollHeight
|
||||
totalLines := mainView.LinesHeight()
|
||||
totalLines := mainView.ViewLinesHeight()
|
||||
if oy+sizeY >= totalLines {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue