diff options
Diffstat (limited to 'src/view/com/composer/state/video.ts')
-rw-r--r-- | src/view/com/composer/state/video.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/view/com/composer/state/video.ts b/src/view/com/composer/state/video.ts index 8814a7e61..7ce4a0cf8 100644 --- a/src/view/com/composer/state/video.ts +++ b/src/view/com/composer/state/video.ts @@ -37,12 +37,6 @@ export type VideoAction = } | {type: 'update_progress'; progress: number; signal: AbortSignal} | { - type: 'update_dimensions' - width: number - height: number - signal: AbortSignal - } - | { type: 'update_alt_text' altText: string signal: AbortSignal @@ -185,13 +179,6 @@ export function videoReducer( progress: action.progress, } } - } else if (action.type === 'update_dimensions') { - if (state.asset) { - return { - ...state, - asset: {...state.asset, width: action.width, height: action.height}, - } - } } else if (action.type === 'update_alt_text') { return { ...state, |