~chrisppy/beagles

5d44a3f4dfa89a84d6a1521abfbe4fcadad83b01 — Chris Palmer 7 months ago 4f71597
fix sub content navigation
1 files changed, 4 insertions(+), 4 deletions(-)

M ui/actions.go
M ui/actions.go => ui/actions.go +4 -4
@@ 141,7 141,7 @@ func (i *UI) moveUp(event *tcell.EventKey) *tcell.EventKey {
		i.listContent.decrement()
		return nil
	case subContentStatus:
		i.favContent.decrement()
		i.subContent.decrement()
		return nil
	case favContentStatus:
		i.favContent.decrement()


@@ 184,7 184,7 @@ func (i *UI) moveDown(event *tcell.EventKey) *tcell.EventKey {
		i.listContent.increment()
		return nil
	case subContentStatus:
		i.favContent.increment()
		i.subContent.increment()
		return nil
	case favContentStatus:
		i.favContent.increment()


@@ 227,7 227,7 @@ func (i *UI) movePageUp(event *tcell.EventKey) *tcell.EventKey {
		i.listContent.pageUp()
		return nil
	case subContentStatus:
		i.favContent.pageUp()
		i.subContent.pageUp()
		return nil
	case favContentStatus:
		i.favContent.pageUp()


@@ 270,7 270,7 @@ func (i *UI) movePageDown(event *tcell.EventKey) *tcell.EventKey {
		i.listContent.pageDown()
		return nil
	case subContentStatus:
		i.favContent.pageDown()
		i.subContent.pageDown()
		return nil
	case favContentStatus:
		i.favContent.pageDown()