Merge pull request #246 from Cecilectomy/fix-footbar-button-layout

fix foot bar button layouts being swapped
This commit is contained in:
GNU 2019-08-20 17:44:58 +08:00 committed by GitHub
commit 087a10da31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,10 +136,7 @@ class FootBar(Widget):
self.Draw()
def SetLabelTexts(self,texts):
if config.ButtonsLayout == "xbox":
barr = ["nav","y","x","b","a","select"]
else:
barr = ["nav","x","y","a","b","select"]
barr = ["nav","y","x","b","a","select"]
texts2 = texts + [""] if len(texts) == 5 else texts
for idx,x in enumerate(barr):