mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
refactor: centralize editor interaction state
Move timeline and preview gestures into dedicated controllers so hooks stay thin around editor state and DOM events. This also routes drag and playback synchronization through manager APIs and reuses persistent wasm surfaces so scrubbing, seeking, and preview rendering stay in sync. Made-with: Cursor
This commit is contained in:
@@ -348,7 +348,6 @@ impl Compositor {
|
||||
) -> Result<(), CompositorError> {
|
||||
let frame = options.frame;
|
||||
self.texture_pool.recycle_frame();
|
||||
context.configure_surface(options.surface, frame.width, frame.height)?;
|
||||
let surface_texture = context.acquire_surface_texture(options.surface)?;
|
||||
let surface_view = surface_texture
|
||||
.texture
|
||||
|
||||
Reference in New Issue
Block a user