Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

feat: refine preview cursor and dev blur UI

webadderall4be880316ad7
diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx
index 1fa52661..fce5f2b9 100644
--- a/src/components/video-editor/SettingsPanel.tsx
+++ b/src/components/video-editor/SettingsPanel.tsx
@@ -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.",
- )}
- </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`}
+ {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>
+ ) : null}
{selectedZoomId && (
<Button
onClick={() => {
diff --git a/src/components/video-editor/videoPlayback/cursorRenderer.ts b/src/components/video-editor/videoPlayback/cursorRenderer.ts
index 2055c607..3dbd0ec8 100644
--- a/src/components/video-editor/videoPlayback/cursorRenderer.ts
+++ b/src/components/video-editor/videoPlayback/cursorRenderer.ts
@@ -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;
}