mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 06:30:28 +09:00
File diff suppressed because one or more lines are too long
@@ -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
|
||||
|
||||
@@ -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`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user