fn layer() -> fn zlayer

This commit is contained in:
Emil Ernerfeldt 2023-01-26 14:56:11 +01:00
parent 494f5b3ef0
commit f87c789851

View file

@ -321,7 +321,7 @@ impl Ui {
}
#[inline]
pub fn layer(&self) -> ZLayer {
pub fn zlayer(&self) -> ZLayer {
self.painter().zlayer()
}
@ -627,7 +627,7 @@ impl Ui {
self.ctx().interact(
self.clip_rect(),
self.spacing().item_spacing,
self.layer(),
self.zlayer(),
id,
rect,
sense,