Avoid crop handle overlapping FAB

Cap the default crop handle position at the FAB-safe home
position so square displays do not place it behind the action
button.
This commit is contained in:
Markus Fisch
2026-06-04 17:53:45 +02:00
parent 5a899b5eb3
commit 45054c80f8
@@ -208,7 +208,7 @@ class DetectorView : View {
val mn = min(center.x, center.y) * .8f
handlePos.set(
(center.x + mn).roundToInt(),
(center.y + mn).roundToInt()
min((center.y + mn).roundToInt(), handleHome.y)
)
handleActive = true
}