We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 781c710 commit e0e87ddCopy full SHA for e0e87dd
1 file changed
internal_filesystem/lib/mpos/ui/focus_direction.py
@@ -60,7 +60,8 @@ def find_closest_obj_in_direction(direction_degrees, angle_tolerance=45):
60
61
# Compute angle to the object
62
angle_deg = compute_angle_to_object(current_focused, obj)
63
- print(f"angle_deg is {angle_deg}")
+ print(f"angle_deg is {angle_deg} for")
64
+ mpos.util.print_lvgl_widget(obj)
65
66
# Check if object is in the desired direction (within ±angle_tolerance)
67
angle_diff = min((angle_deg - direction_degrees) % 360, (direction_degrees - angle_deg) % 360)
0 commit comments