From 0a39fae0edbbaa488dc02fbd8cda00f4b5221cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 11 Aug 2026 16:16:22 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(export):=202K=20QHD=20joins=20?= =?UTF-8?q?the=20resolution=20ladder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2560x1440 sits between 4K and 1080p in RESOLUTIONS; the ladder, picker rows and stroke-cycle all read the same list, so one rung is the whole change. --- crates/app/src/main.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/crates/app/src/main.rs b/crates/app/src/main.rs index 571ff71..fad5950 100644 --- a/crates/app/src/main.rs +++ b/crates/app/src/main.rs @@ -625,7 +625,13 @@ fn typed(key: &str) -> Option { /// The project resolutions [`Player::cycle_resolution`] offers, largest first. /// A short list of the sizes people name; the media's own is cycled in beside /// them, which is what makes the trip round come back to where it started. -const RESOLUTIONS: [(u32, u32); 4] = [(3840, 2160), (1920, 1080), (1280, 720), (854, 480)]; +const RESOLUTIONS: [(u32, u32); 5] = [ + (3840, 2160), + (2560, 1440), + (1920, 1080), + (1280, 720), + (854, 480), +]; /// The project frame rates the list offers, slowest first: the rates footage is /// actually shot and delivered at, the NTSC ones written as the ratios they are @@ -14854,6 +14860,7 @@ mod tests { ladder, [ (3840, 2160), + (2560, 1440), (1920, 1080), (1440, 1080), (1280, 720), @@ -14879,7 +14886,7 @@ mod tests { } // The media's own size says so: it is the one rung a person cannot read // off a number they chose. - let (.., native_detail, _) = &rows[2]; + let (.., native_detail, _) = &rows[3]; assert!( native_detail.contains("the media's own"), "{native_detail}"