summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike JS. Choi <mkchoi212@icloud.com>2018-01-06 18:37:29 -0600
committerMike JS. Choi <mkchoi212@icloud.com>2018-01-06 18:37:29 -0600
commit15e5119bfc37d9338ad2382bd2a3188165aed29a (patch)
tree4898cfcae3e4c0a10032c6fc17857bcd984b2036
parente493f7172e9f24572440db3d6e9b61efc04c3160 (diff)
Adjust scroll up behaviorv1.0.4
-rw-r--r--layout.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/layout.go b/layout.go
index 5320cda..e1040dc 100644
--- a/layout.go
+++ b/layout.go
@@ -245,7 +245,6 @@ func MoveToItem(dir int, g *gocui.Gui, v *gocui.View) error {
func Scroll(g *gocui.Gui, c *conflict.Conflict, direction int) {
if direction == Up {
c.TopPeek--
- c.BottomPeek++
} else if direction == Down {
c.TopPeek++
} else {