LR-EXP-TYPE: the Export dialog is 615 pt wide with JPEG XL in the format row

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BKWB9TCnvzJHV6xMLAj2J4
This commit is contained in:
Claude 2026-10-11 14:49:19 +00:00
parent 9e41805a12
commit 5343fd10ff
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -93,10 +93,10 @@ fn export_dialog_is_unchanged_in_a_tall_window() {
let h = export_dialog([1600.0, 1000.0]);
assert_fits(&h, "Export at 1600×1000");
let dialog = rect(&h, "dialog:window");
// (846 tall as before #781: the whole dialog, nothing scrolled away; 546 wide since the
// watermark's nine positions, #833)
// (846 tall as before #781: the whole dialog, nothing scrolled away; 615 wide since the
// format row gained JPEG XL, #780)
assert!((dialog.height() - 846.0).abs() <= 1.0, "{dialog:?}");
assert!((dialog.width() - 546.0).abs() <= 1.0, "{dialog:?}");
assert!((dialog.width() - 615.2).abs() <= 1.0, "{dialog:?}");
}
// Scenario: other long dialogs fit a short window too, with their buttons on screen