Camera app: tweak layout

This commit is contained in:
Thomas Farstrike
2025-11-25 09:45:39 +01:00
parent b0592f8e22
commit de35a9dd39
2 changed files with 12 additions and 5 deletions
@@ -24,9 +24,13 @@ def get_pointer_xy():
return -1, -1
def pct_of_display_width(pct):
if pct == 100:
return _horizontal_resolution
return round(_horizontal_resolution * pct / 100)
def pct_of_display_height(pct):
if pct == 100:
return _vertical_resolution
return round(_vertical_resolution * pct / 100)
def min_resolution():