LayerId compat
This commit is contained in:
parent
45336eaf62
commit
57f65b7be6
1 changed files with 4 additions and 0 deletions
|
@ -74,6 +74,10 @@ pub struct AreaLayerId {
|
||||||
pub id: Id,
|
pub id: Id,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// For backwards-compatibility with `AreaLayerId`
|
||||||
|
#[deprecated(note = "Use `AreaLayerId` instead")]
|
||||||
|
pub type LayerId = AreaLayerId;
|
||||||
|
|
||||||
impl AreaLayerId {
|
impl AreaLayerId {
|
||||||
pub fn new(order: Order, id: Id) -> Self {
|
pub fn new(order: Order, id: Id) -> Self {
|
||||||
Self { order, id }
|
Self { order, id }
|
||||||
|
|
Loading…
Reference in a new issue