mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 21:00:03 -04:00
LayerId compat
This commit is contained in:
@@ -74,6 +74,10 @@ pub struct AreaLayerId {
|
||||
pub id: Id,
|
||||
}
|
||||
|
||||
/// For backwards-compatibility with `AreaLayerId`
|
||||
#[deprecated(note = "Use `AreaLayerId` instead")]
|
||||
pub type LayerId = AreaLayerId;
|
||||
|
||||
impl AreaLayerId {
|
||||
pub fn new(order: Order, id: Id) -> Self {
|
||||
Self { order, id }
|
||||
|
||||
Reference in New Issue
Block a user