From 858a7c6d49eac9051996bddfd370ed3a1cbae6f8 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 20 Nov 2026 09:44:30 -0500 Subject: [PATCH] pipe editing-1: fixes for editing (6 tests) --- crates/ui-egui/tests/it/editing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ui-egui/tests/it/editing.rs b/crates/ui-egui/tests/it/editing.rs index feda4e6302..82a117fb3b 100644 --- a/crates/ui-egui/tests/it/editing.rs +++ b/crates/ui-egui/tests/it/editing.rs @@ -6271,8 +6271,8 @@ fn dragging_pages_panel_thumbnails_reorders_pages() { let thumb = |h: &Harness<'static, PdfCraftApp>, label: &str| { h.get_all_by_label(label).map(|n| n.rect()).max_by(|a, b| a.left().total_cmp(&b.left())).expect("the thumbnail") }; - // Grab page 3 (page 4 is below the window) and drop it above page 1. - let (from, to) = (thumb(&h, "Page 3").center(), thumb(&h, "Page 1").center_top() + egui::vec2(0.0, 4.0)); + // Grab page 3 (page 4 is below the window) and drop it before page 1. + let (from, to) = (thumb(&h, "Page 3").center(), thumb(&h, "Page 1").left_top() + egui::vec2(4.0, 4.0)); drag(&mut h, from, to); h.run_steps(4); let after = page_texts(h.state());