mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-25 15:25:44 +00:00
feat: refine preview cursor and dev blur UI
This commit is contained in:
@@ -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={() => {
|
||||
|
||||
@@ -342,7 +342,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user