feat: switch hotspot coordinates from container percentage to absolute content pixels

This commit is contained in:
2026-06-10 12:45:41 +08:00
parent 5eac0f23a8
commit bb289f5438
4 changed files with 75 additions and 15 deletions

View File

@@ -3,6 +3,7 @@ export interface SceneNode {
type?: 'video' | 'image'
videoUrl: string
imageUrl?: string
contentSize?: { w: number; h: number }
subtitleUrl?: string
subtitles?: Record<string, string>
choices?: Choice[]