🎨chore: 使用 oxlint, oxfmt&格式化代码

This commit is contained in:
2026-02-08 21:16:25 +08:00
parent 9d35c6a9d8
commit 3a801ba016
78 changed files with 3367 additions and 1468 deletions

View File

@@ -51,7 +51,7 @@ const calculateScaledDimensions = (
return { width: finalWidth, height: targetHeight }
}
export type CompositingPhase =
export type CompositingPhase =
| 'loading'
| 'analyzing'
| 'preparing'
@@ -90,9 +90,8 @@ export const useVideoBackgroundCompositing = async (
const backgroundData = await fetchFile(backgroundImage)
progressCallback?.({ progress: 15, phase: 'analyzing' })
const { width: bgWidth, height: bgHeight } = await getImageDimensions(
backgroundData
)
const { width: bgWidth, height: bgHeight } =
await getImageDimensions(backgroundData)
console.log(
`[Compositing] Background image dimensions: ${bgWidth}x${bgHeight}`
)