diff --git a/crates/app/src/oracle.rs b/crates/app/src/oracle.rs index eeeeb9a..6c0998d 100644 --- a/crates/app/src/oracle.rs +++ b/crates/app/src/oracle.rs @@ -128,6 +128,10 @@ pub(crate) fn enable(action: ActionId, ctx: Ctx) -> Enable { | ActionId::VolumeDown | ActionId::ToggleProxies | ActionId::ToggleAutoProxies + // The project settings decide what the *next* file scaffolds as + // (`Player::pending_settings`), so refusing them before the first + // file was refusing them exactly when they mean the most. + | ActionId::Resolution ) { return match ctx.exporting { true => Enable::No("an export is running"), diff --git a/crates/app/src/tests/editing.rs b/crates/app/src/tests/editing.rs index 87a23cb..b93dc67 100644 --- a/crates/app/src/tests/editing.rs +++ b/crates/app/src/tests/editing.rs @@ -850,6 +850,9 @@ fn the_clip_menu_dims_what_the_playhead_is_not_on_and_stays_in_the_window() { // picture is then decoded from -- so a person answers them before the first // file, and a switch that waited for one was a switch that came too late to // stop the encode it was about. + // ...and so do the project settings: they decide what the next file + // scaffolds as (`pending_settings`), so a gate that waited for a timeline + // refused them exactly when they mean the most. for editor_wide in [ ActionId::ToggleSnap, ActionId::ToggleMute, @@ -857,6 +860,7 @@ fn the_clip_menu_dims_what_the_playhead_is_not_on_and_stays_in_the_window() { ActionId::VolumeDown, ActionId::ToggleProxies, ActionId::ToggleAutoProxies, + ActionId::Resolution, ] { assert!( whole(editor_wide, Ctx::default()).yes(),