add: horizontal axe

This commit is contained in:
starnakin 2023-05-27 15:22:47 +02:00
parent e8a27f2455
commit af98c125df

View File

@ -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):