Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
48bb893a5c
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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):