From 98bfed94c20ae9612f2a0d9c5df04eb1a87d89c5 Mon Sep 17 00:00:00 2001 From: William Dunn Date: Wed, 11 Nov 2026 09:21:38 -0500 Subject: [PATCH] craft-esign: carry the menu helper behind the esign feature on the new egui Main's craft-ui no longer has a standalone menu module. The esign dialog is the only consumer of the split-button helper this slice carries. The module is therefore feature-gated so the default craft-ui build matches main exactly. The three widget_info calls move from the deprecated egui::WidgetType alias to egui::Role. The current pin denies that deprecation as a warning. --- crates/ui/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/ui/src/lib.rs b/crates/ui/src/lib.rs index a1c091ff1..980bd4f63 100644 --- a/crates/ui/src/lib.rs +++ b/crates/ui/src/lib.rs @@ -23,6 +23,9 @@ pub mod icons; pub mod ime; pub mod layout; pub mod localized; +// Split-button menu helper carried with the esign slice; main's craft-ui no longer has a +// standalone menu module, and only the esign dialog uses this one. +#[cfg(feature = "esign")] pub mod menu; pub mod panes; pub mod presence;