feat(web): update bridge module

This commit is contained in:
2026-03-19 01:26:29 +08:00
parent 27e1434eed
commit abce13e17f

View File

@@ -13,25 +13,25 @@ pub enum BridgeMessage {
SeekTime(f64),
StepForward,
StepBackward,
// UI state
SetVolume(f32),
SetMuted(bool),
SetSpeed(f32),
// Overlay toggles
ToggleSubtitle,
ToggleYolo,
ToggleChunks,
// Zoom/Pan
Zoom(f32),
Pan(f32, f32),
ResetView,
// File operations
OpenFile(String),
// Queries
GetState,
GetSubtitle(f64),