Merge branch 'regress2/singles' into area/app-1

This commit is contained in:
Dylan M. Taylor
2026-11-21 19:46:58 -05:00
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -389,7 +389,7 @@ pub(crate) fn show(
.mode(if multiline { EditorMode::FieldLines } else { EditorMode::FieldLine })
.esc_commits(false);
let editor = if f.has(field_flags::PASSWORD) { editor.masked() } else { editor };
let out = editor.show_at(ui, rect);
let out = ui.push_id((&f.name, f.obj, widget), |ui| editor.show_at(ui, rect)).inner;
ended = out.ended;
shown = Some(out.response.id);
}
+3
View File
@@ -1024,6 +1024,9 @@ fn bookmark_destinations_scroll_to_their_position() {
use egui_kittest::kittest::Queryable;
use pdfcraft_ui_egui::canvas::Fit;
let mut h = dests_harness();
// Leave enough room to scroll the destination to the start edge at 300%.
h.set_size(egui::vec2(1300.0, 900.0));
h.run_steps(6);
// Fit width: the pages are taller than the window, so any point of them can reach its top.
h.get_by_label("Section 1.1 Shapes").click();
h.run_steps(6);