@@ -205,14 +205,14 @@ def empty_screen_stack():
205205 screen_stack .clear ()
206206
207207def move_focusgroup_objects (fromgroup , togroup ):
208- print (f"Moving { fromgroup .get_obj_count ()} focused objects" )
208+ # print(f"Moving {fromgroup.get_obj_count()} focused objects")
209209 for objnr in range (fromgroup .get_obj_count ()):
210210 #print(f"saving object {objnr} from default focusgroup to current_focusgroup")
211211 next = fromgroup .get_obj_by_index (0 )
212- mpos .util .print_lvgl_widget (next )
212+ # mpos.util.print_lvgl_widget(next)
213213 if next :
214214 togroup .add_obj (next )
215- print ("Done moving focused objects" )
215+ # print("Done moving focused objects")
216216
217217
218218# Saves all objects from the default focus group in the activity's focus group
@@ -222,9 +222,9 @@ def save_and_clear_current_focusgroup():
222222 if default_focusgroup and len (screen_stack ) > 0 :
223223 current_activity , current_screen , current_focusgroup , _ = screen_stack .pop ()
224224 current_focused_object = default_focusgroup .get_focused ()
225- if current_focused_object :
226- print ("current_focused_object: " )
227- mpos .util .print_lvgl_widget (current_focused_object )
225+ # if current_focused_object:
226+ # print("current_focused_object: ")
227+ # mpos.util.print_lvgl_widget(current_focused_object)
228228 move_focusgroup_objects (lv .group_get_default (), current_focusgroup )
229229 screen_stack .append ((current_activity , current_screen , current_focusgroup , current_focused_object ))
230230
@@ -285,8 +285,8 @@ def back_screen():
285285 default_focusgroup = lv .group_get_default ()
286286 if default_focusgroup :
287287 move_focusgroup_objects (prev_focusgroup , default_focusgroup )
288- print ("restoring prev_focused_object: " )
289- mpos .util .print_lvgl_widget (prev_focused_object )
288+ # print("restoring prev_focused_object: ")
289+ # mpos.util.print_lvgl_widget(prev_focused_object)
290290 mpos .ui .focus_direction .emulate_focus_obj (default_focusgroup , prev_focused_object ) # LVGL 9.3 should have: default_focusgroup.focus_obj(prev_focused_object)
291291 if prev_activity :
292292 prev_activity .onResume (prev_screen )
0 commit comments