Park the quick-EV readout against its track

The EV value sat 52dp clear of the AE-lock slider it labels, on the far side of the thumb travel. 8dp now.
This commit is contained in:
2026-09-16 07:08:37 +07:00
parent a85ebf0a81
commit 39487ffd67
+3 -1
View File
@@ -742,10 +742,12 @@ const Viewfinder = forwardRef<ViewfinderHandle, ViewfinderProps>(function Viewfi
}
setFocusPoint({ x, y });
try {
const t0 = Date.now();
await cam.focusTo(
{ x, y },
{ responsiveness: 'snappy', adaptiveness: 'locked', autoResetAfter: null }
);
console.log(`[focus] AE/AF locked at ${Math.round(x)},${Math.round(y)} in ${Date.now() - t0}ms`);
} catch (e) {
console.warn('Focus lock failed: ' + String(e).slice(0, 120));
}
@@ -2731,7 +2733,7 @@ const Viewfinder = forwardRef<ViewfinderHandle, ViewfinderProps>(function Viewfi
{focusPoint && onExposureChange && (
<>
{/* EV value readout (left of the slider) */}
<View pointerEvents="none" className="absolute" style={{ right: 108, top: evThumbY - 12 }}>
<View pointerEvents="none" className="absolute" style={{ right: 64, top: evThumbY - 12 }}>
<Text className="text-amber-400 font-mono text-xs font-bold bg-black/50 px-1.5 py-0.5 rounded">
EV {(evStops > 0 ? '+' : '') + evStops.toFixed(1)}
</Text>