fix(build): remove background transparency references

This commit is contained in:
webadderall
2026-03-14 23:46:57 +11:00
parent 83b7ec48b8
commit 5b2e40201a
3 changed files with 1 additions and 7 deletions
@@ -1043,7 +1043,7 @@ const VideoPlayback = forwardRef<VideoPlaybackRef, VideoPlaybackProps>(({
return (
<div className="relative rounded-sm overflow-hidden" style={{ width: '100%', aspectRatio: formatAspectRatioForCSS(aspectRatio, nativeAspectRatio) }}>
{/* Background layer - always render as DOM element with blur */}
{/* Background layer */}
<div
className="absolute inset-0 bg-cover bg-center"
style={{
@@ -25,7 +25,6 @@ export const PROJECT_VERSION = 1;
export interface ProjectEditorState {
wallpaper: string;
backgroundTransparency: boolean;
shadowIntensity: number;
backgroundBlur: number;
zoomMotionBlur: number;
@@ -260,9 +259,6 @@ export function normalizeProjectEditor(editor: Partial<ProjectEditorState>): Pro
return {
wallpaper: typeof editor.wallpaper === "string" ? editor.wallpaper : WALLPAPER_PATHS[0],
backgroundTransparency: typeof (editor as Partial<ProjectEditorState>).backgroundTransparency === "boolean"
? (editor as Partial<ProjectEditorState>).backgroundTransparency as boolean
: false,
shadowIntensity: typeof editor.shadowIntensity === "number" ? editor.shadowIntensity : 0.67,
backgroundBlur: normalizedBackgroundBlur,
zoomMotionBlur: normalizedZoomMotionBlur,
-2
View File
@@ -8,7 +8,6 @@ import type { ZoomRegion, CropRegion, TrimRegion, AnnotationRegion, SpeedRegion,
interface VideoExporterConfig extends ExportConfig {
videoUrl: string;
wallpaper: string;
backgroundTransparency?: boolean;
zoomRegions: ZoomRegion[];
trimRegions?: TrimRegion[];
speedRegions?: SpeedRegion[];
@@ -68,7 +67,6 @@ export class VideoExporter {
width: this.config.width,
height: this.config.height,
wallpaper: this.config.wallpaper,
backgroundTransparency: this.config.backgroundTransparency,
zoomRegions: this.config.zoomRegions,
showShadow: this.config.showShadow,
shadowIntensity: this.config.shadowIntensity,