Procházet zdrojové kódy

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 před 4 roky
rodič
revize
48bb893a5c
1 změnil soubory, kde provedl 1 přidání a 4 odebrání
  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()
         self.Draw()
 
 
     def SetLabelTexts(self,texts):
     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
         texts2 = texts + [""] if len(texts) == 5 else texts
 
 
         for idx,x in enumerate(barr):
         for idx,x in enumerate(barr):