feat: refine preview cursor and dev blur UI

This commit is contained in:
webadderall
2026-06-18 18:07:43 +10:00
parent 2fffe922c6
commit f0953a131e
2 changed files with 13 additions and 16 deletions
+12 -15
View File
@@ -3322,22 +3322,19 @@ export function SettingsPanel({
)}
</div>
)}
<div className="rounded-lg border border-foreground/10 bg-foreground/[0.03] px-3 py-2">
<div className="text-[10px] text-muted-foreground">
{showDevMotionControls
? tSettings(
"effects.exportBlurMovedToDev",
"Export blur tuning is available in Settings > Dev.",
)
: tSettings(
"effects.exportBlurLocked",
"Export blur is fixed for this build.",
)}
{showDevMotionControls ? (
<div className="rounded-lg border border-foreground/10 bg-foreground/[0.03] px-3 py-2">
<div className="text-[10px] text-muted-foreground">
{tSettings(
"effects.exportBlurMovedToDev",
"Export blur tuning is available in Settings > Dev.",
)}
</div>
<div className="mt-1 text-[12px] font-medium text-foreground">
{`${TEMPORAL_MOTION_BLUR_DEFAULT_SAMPLE_COUNT} samples · ${Math.round(TEMPORAL_MOTION_BLUR_DEFAULT_SHUTTER_FRACTION * 100)}% shutter`}
</div>
</div>
<div className="mt-1 text-[12px] font-medium text-foreground">
{`${TEMPORAL_MOTION_BLUR_DEFAULT_SAMPLE_COUNT} samples · ${Math.round(TEMPORAL_MOTION_BLUR_DEFAULT_SHUTTER_FRACTION * 100)}% shutter`}
</div>
</div>
) : null}
{selectedZoomId && (
<Button
onClick={() => {
@@ -345,7 +345,7 @@ function clamp(value: number, min: number, max: number) {
function configureCursorTexture(texture: Texture) {
texture.source.scaleMode = "linear";
texture.source.autoGenerateMipmaps = false;
texture.source.autoGenerateMipmaps = true;
return texture;
}