add: horizontal axe
This commit is contained in:
parent
e8a27f2455
commit
af98c125df
2
Menu.py
2
Menu.py
@ -30,6 +30,7 @@ class Menu():
|
||||
if (self.options[self.cursor_pos] == None
|
||||
or self.options[self.cursor_pos] == ""):
|
||||
self._up()
|
||||
self.cursor_pos_x = 0;
|
||||
|
||||
def _down(self):
|
||||
if (self.circular == False):
|
||||
@ -41,6 +42,7 @@ class Menu():
|
||||
if (self.options[self.cursor_pos] == None
|
||||
or self.options[self.cursor_pos] == ""):
|
||||
self._down()
|
||||
self.cursor_pos_x = 0;
|
||||
|
||||
def _left(self):
|
||||
if (self.cursor_pos_x > 0):
|
||||
|
Loading…
Reference in New Issue
Block a user