format
This commit is contained in:
1 parent
66482b8495
commit
607cd7aeff
2 files changed
+2
-2
No files matched your search
@@ -263,7 +263,7 @@ func (nav *Nav) down() {
|
||||
|
||||
// use a smaller value when the height is even and scrolloff is maxed
|
||||
// in order to stay at the same row as much as possible while up/down
|
||||
edge = min(edge, nav.height / 2 + nav.height % 2 - 1)
|
||||
edge = min(edge, nav.height/2+nav.height%2-1)
|
||||
|
||||
dir.pos = min(dir.pos, nav.height-edge-1)
|
||||
dir.pos = min(dir.pos, maxind)
|
||||
|
||||
Reference in new issue
Block a user