forge
Explore
Log in

Don't you dare go Hollow

2K QHD joins the resolution ladder

Browse files at this commit

0a39fae0edbbaa488dc02fbd8cda00f4b5221cf0Ahmet Kaan GümüşParent: bf65371
  • feat
    • 2K QHD joins the resolution ladder
Show full message
✨ feat(export): 2K QHD joins the resolution ladder

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.rsmodified+9 -2
@@ -625,7 +625,13 @@ fn typed(key: &str) -> Option<char> {
625625 /// The project resolutions [`Player::cycle_resolution`] offers, largest first.
626626 /// A short list of the sizes people name; the media's own is cycled in beside
627627 /// them, which is what makes the trip round come back to where it started.
628-const RESOLUTIONS: [(u32, u32); 4] = [(3840, 2160), (1920, 1080), (1280, 720), (854, 480)];
628+const RESOLUTIONS: [(u32, u32); 5] = [
629+ (3840, 2160),
630+ (2560, 1440),
631+ (1920, 1080),
632+ (1280, 720),
633+ (854, 480),
634+];
629635
630636 /// The project frame rates the list offers, slowest first: the rates footage is
631637 /// actually shot and delivered at, the NTSC ones written as the ratios they are
@@ -14854,6 +14860,7 @@ mod tests {
1485414860 ladder,
1485514861 [
1485614862 (3840, 2160),
14863+ (2560, 1440),
1485714864 (1920, 1080),
1485814865 (1440, 1080),
1485914866 (1280, 720),
@@ -14879,7 +14886,7 @@ mod tests {
1487914886 }
1488014887 // The media's own size says so: it is the one rung a person cannot read
1488114888 // off a number they chose.
14882- let (.., native_detail, _) = &rows[2];
14889+ let (.., native_detail, _) = &rows[3];
1488314890 assert!(
1488414891 native_detail.contains("the media's own"),
1488514892 "{native_detail}"