From 9000d16d836c277b5ab25298352c82852c9cf79f Mon Sep 17 00:00:00 2001 From: Simon <614955+simgt@users.noreply.github.com> Date: Mon, 9 Sep 2024 11:11:52 +0200 Subject: [PATCH] Export module `egui::frame` (#5087) Remove the crate visibility of the frame module. Useful at least when using `Frame::begin` as otherwise the returned type is opaque to library users and prevents from creating containers that use `Frame` with a similar interface. Alternative is to only export `frame::Prepared` as `PreparedFrame` or something, but I saw that other submodules of containers are already public. * Closes #2106 * [x] I have followed the instructions in the PR template --- crates/egui/src/containers/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/containers/mod.rs b/crates/egui/src/containers/mod.rs index 0f05b29b..3dd75a44 100644 --- a/crates/egui/src/containers/mod.rs +++ b/crates/egui/src/containers/mod.rs @@ -5,7 +5,7 @@ pub(crate) mod area; pub mod collapsing_header; mod combo_box; -pub(crate) mod frame; +pub mod frame; pub mod panel; pub mod popup; pub(crate) mod resize;