Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
48bb893a5c
1 değiştirilmiş dosya ile 1 ekleme ve 4 silme
  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):