mirror of
https://github.com/ilyhalight/voice-over-translation.git
synced 2026-07-09 16:00:11 +00:00
Major UI/tooling updates: - Rewrite Tooltip API and internals: accept opts object, use portal parent, simplify positioning logic, improve observers and event handling (pointer-based), stricter typing, and various lifecycle fixes. - Update SubtitlesWidget to use PointerEvent, add global pointerdown to dismiss tooltips, fix tooltip mount/update flows and related event handling. - Style adjustments: .vot-portal display -> contents and simplify overlay pointer-events so interactive controls receive events. - UI tweaks: stopPropagation on dialog backdrop click, remove mousedown listeners where unnecessary, refine overlay view reparenting and menu listeners. - OverlayVisibilityController: improved pointer path checks, immediate hide() method, touch-specific behavior and activity handling fixes. - FullscreenHelper: prefer video rect when determining container size. - Move Vite config files into vite/ subdirectory and update package.json and imports (paths updated and rootDir adjusted). These changes consolidate tooltip/overlay behavior around pointer events, tidy DOM mounting, and reorganize build configs. |
||
|---|---|---|
| .. | ||
| vite.base.config.ts | ||
| vite.config.ts | ||
| vite.extension.config.ts | ||
| vite.extension.shared.ts | ||
| vite.test-ui.config.ts | ||