feat(web): update bridge module
This commit is contained in:
@@ -13,25 +13,25 @@ pub enum BridgeMessage {
|
|||||||
SeekTime(f64),
|
SeekTime(f64),
|
||||||
StepForward,
|
StepForward,
|
||||||
StepBackward,
|
StepBackward,
|
||||||
|
|
||||||
// UI state
|
// UI state
|
||||||
SetVolume(f32),
|
SetVolume(f32),
|
||||||
SetMuted(bool),
|
SetMuted(bool),
|
||||||
SetSpeed(f32),
|
SetSpeed(f32),
|
||||||
|
|
||||||
// Overlay toggles
|
// Overlay toggles
|
||||||
ToggleSubtitle,
|
ToggleSubtitle,
|
||||||
ToggleYolo,
|
ToggleYolo,
|
||||||
ToggleChunks,
|
ToggleChunks,
|
||||||
|
|
||||||
// Zoom/Pan
|
// Zoom/Pan
|
||||||
Zoom(f32),
|
Zoom(f32),
|
||||||
Pan(f32, f32),
|
Pan(f32, f32),
|
||||||
ResetView,
|
ResetView,
|
||||||
|
|
||||||
// File operations
|
// File operations
|
||||||
OpenFile(String),
|
OpenFile(String),
|
||||||
|
|
||||||
// Queries
|
// Queries
|
||||||
GetState,
|
GetState,
|
||||||
GetSubtitle(f64),
|
GetSubtitle(f64),
|
||||||
|
|||||||
Reference in New Issue
Block a user