Просмотр исходного кода

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 лет назад
Родитель
Сommit
48bb893a5c
1 измененных файлов с 1 добавлено и 4 удалено
  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):