Parcourir la source

Keyboard default selected key is enter

9and3r il y a 10 ans
Parent
commit
d24f1103b6
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      mopidy_touchscreen/screens/keyboard_screen.py

+ 2 - 1
mopidy_touchscreen/screens/keyboard_screen.py

@@ -97,7 +97,8 @@ class Keyboard(BaseScreen):
                                   (self.size[0], self.base_height),
                                   center=False, scroll_no_fit=False)
         self.other_objects.set_object("text", button)
-        self.change_selected(0, 0)
+        self.selected_others = 3
+        self.set_selected_other()
 
     def update(self, screen):
         screen.fill((0, 0, 0))