rename scrollup/down to scroll-up/down

cc #764
This commit is contained in:
Gokcehan committed 2022-03-30 12:58:38 +03:00
1 parent afa90fe647
commit 4db1a63b75
7 files changed
+26 -26

No files matched your search

+2 -2
View File
@@ -828,7 +828,7 @@ func (nav *nav) down(dist int) bool {
return old != dir.ind
}
func (nav *nav) scrollup(dist int) bool {
func (nav *nav) scrollUp(dist int) bool {
dir := nav.currDir()
// when reached top do nothing
@@ -857,7 +857,7 @@ func (nav *nav) scrollup(dist int) bool {
return old != dir.ind
}
func (nav *nav) scrolldown(dist int) bool {
func (nav *nav) scrollDown(dist int) bool {
dir := nav.currDir()
maxind := len(dir.files) - 1