From a84a255e4efe9e970231c0220bdd34e11cda5ff7 Mon Sep 17 00:00:00 2001 From: aiongg Date: Sat, 24 Oct 2026 06:22:30 +0000 Subject: [PATCH] Integration: #4178 doc comment back above mode_tab --- crates/ui-egui/tests/it/content.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/tests/it/content.rs b/crates/ui-egui/tests/it/content.rs index 619352b8f..82334fa12 100644 --- a/crates/ui-egui/tests/it/content.rs +++ b/crates/ui-egui/tests/it/content.rs @@ -714,7 +714,6 @@ fn format_text_panel_sets_alignment_and_lists_planned_controls_disabled() { assert!(h.state().text_style.bold); } -/// Where a mode bar tab is, by its label. /// Opening right-aligned added text to edit it shows it right-aligned, as the page does, not at /// the box's left edge, where it never was. #[test] @@ -764,6 +763,7 @@ fn the_text_editor_aligns_a_narrow_box_to_its_own_edge() { ); } +/// Where a mode bar tab is, by its label. fn mode_tab(h: &Harness<'static, PdfCraftApp>, label: &str) -> egui::Rect { h.get_all_by_role_and_label(egui::accesskit::Role::Button, label).map(|n| n.rect()).find(|r| r.bottom() < 120.0).expect("a mode tab") }