Skip to content

Commit

Permalink
[ChannelSelection]
Browse files Browse the repository at this point in the history
* fix move channel for non vertical list
  • Loading branch information
jbleyel committed Sep 3, 2024
1 parent 05dac2b commit 8d933ff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/python/Screens/ChannelSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,10 @@ def moveTop(self): # This is used by InfoBarGenerics.
self.servicelist.goTop()

def moveUp(self): # This is used by InfoBarGenerics.
self.servicelist.goLineUp()
if self.servicelist.isVertical():
self.servicelist.goLineUp()
else:
self.servicelist.goLeft()

def moveLeft(self):
if self.servicelist.isVertical():
Expand All @@ -282,7 +285,10 @@ def moveRight(self):
self.servicelist.goRight()

def moveDown(self): # This is used by InfoBarGenerics.
self.servicelist.goLineDown()
if self.servicelist.isVertical():
self.servicelist.goLineDown()
else:
self.servicelist.goRight()

def moveEnd(self): # This is used by InfoBarGenerics.
self.servicelist.goBottom()
Expand Down

0 comments on commit 8d933ff

Please sign in to comment.