Skip to content

Commit

Permalink
Adjust scroll up behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mkchoi212 committed Jan 7, 2018
1 parent e493f71 commit 15e5119
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 15e5119

Please sign in to comment.