Browse Source

Revert SetLabelTexts

This causes SNES button actions to be backwards.
Please merge this pull request to revert back, or properly fix whatever the update was supposed to change in the first place.
Daniel Cecil 4 years ago
parent
commit
48bb893a5c
1 changed files with 1 additions and 4 deletions
  1. 1 4
      sys.py/UI/foot_bar.py

+ 1 - 4
sys.py/UI/foot_bar.py

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