mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-15 03:08:50 +01:00
Merge pull request #246 from Cecilectomy/fix-footbar-button-layout
fix foot bar button layouts being swapped
This commit is contained in:
commit
087a10da31
@ -136,10 +136,7 @@ class FootBar(Widget):
|
|||||||
self.Draw()
|
self.Draw()
|
||||||
|
|
||||||
def SetLabelTexts(self,texts):
|
def SetLabelTexts(self,texts):
|
||||||
if config.ButtonsLayout == "xbox":
|
|
||||||
barr = ["nav","y","x","b","a","select"]
|
barr = ["nav","y","x","b","a","select"]
|
||||||
else:
|
|
||||||
barr = ["nav","x","y","a","b","select"]
|
|
||||||
texts2 = texts + [""] if len(texts) == 5 else texts
|
texts2 = texts + [""] if len(texts) == 5 else texts
|
||||||
|
|
||||||
for idx,x in enumerate(barr):
|
for idx,x in enumerate(barr):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user