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:
@@ -742,10 +742,12 @@ const Viewfinder = forwardRef<ViewfinderHandle, ViewfinderProps>(function Viewfi
|
|||||||
}
|
}
|
||||||
setFocusPoint({ x, y });
|
setFocusPoint({ x, y });
|
||||||
try {
|
try {
|
||||||
|
const t0 = Date.now();
|
||||||
await cam.focusTo(
|
await cam.focusTo(
|
||||||
{ x, y },
|
{ x, y },
|
||||||
{ responsiveness: 'snappy', adaptiveness: 'locked', autoResetAfter: null }
|
{ 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) {
|
} catch (e) {
|
||||||
console.warn('Focus lock failed: ' + String(e).slice(0, 120));
|
console.warn('Focus lock failed: ' + String(e).slice(0, 120));
|
||||||
}
|
}
|
||||||
@@ -2731,7 +2733,7 @@ const Viewfinder = forwardRef<ViewfinderHandle, ViewfinderProps>(function Viewfi
|
|||||||
{focusPoint && onExposureChange && (
|
{focusPoint && onExposureChange && (
|
||||||
<>
|
<>
|
||||||
{/* EV value readout (left of the slider) */}
|
{/* 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">
|
<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)}
|
EV {(evStops > 0 ? '+' : '') + evStops.toFixed(1)}
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user