diff --git a/crates/egui/src/lib.rs b/crates/egui/src/lib.rs index e0e46468..6a625413 100644 --- a/crates/egui/src/lib.rs +++ b/crates/egui/src/lib.rs @@ -361,7 +361,7 @@ pub use { grid::Grid, id::{Id, IdMap}, input_state::{InputState, MultiTouchInfo, PointerState}, - layers::{AreaLayerId, LayerId, Order}, + layers::{AreaLayerId, Order}, layout::*, memory::Memory, painter::Painter, @@ -374,6 +374,9 @@ pub use { widgets::*, }; +#[allow(deprecated)] +pub use layers::LayerId; + // ---------------------------------------------------------------------------- /// Helper function that adds a label when compiling with debug assertions enabled.