Fix capitalization of scrollSpeed option

Closes #114
This commit is contained in:
Zachary Yedidia
2016-05-17 12:53:46 -04:00
parent abddd6eecd
commit 363697a657
3 changed files with 100 additions and 100 deletions

File diff suppressed because one or more lines are too long

View File

@@ -367,13 +367,13 @@ func (v *View) HandleEvent(event tcell.Event) {
relocate = false
case tcell.WheelUp:
// Scroll up
scrollSpeed := int(settings["scrollspeed"].(float64))
scrollSpeed := int(settings["scrollSpeed"].(float64))
v.ScrollUp(scrollSpeed)
// We don't want to relocate if the user is scrolling
relocate = false
case tcell.WheelDown:
// Scroll down
scrollSpeed := int(settings["scrollspeed"].(float64))
scrollSpeed := int(settings["scrollSpeed"].(float64))
v.ScrollDown(scrollSpeed)
// We don't want to relocate if the user is scrolling
relocate = false

View File

@@ -203,7 +203,7 @@ Here are the options that you can set:
default value: `on`
* `scrollspeed`: amount of lines to scroll
* `scrollSpeed`: amount of lines to scroll
default value: `2`