mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Fix incorrect deprecation redirect
This commit is contained in:
@@ -411,7 +411,7 @@ impl Ui {
|
|||||||
self.interact(rect, self.auto_id_with("hover_rect"), Sense::hover())
|
self.interact(rect, self.auto_id_with("hover_rect"), Sense::hover())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deprecated = "Use: ui_contains_mouse()"]
|
#[deprecated = "Use: rect_contains_mouse()"]
|
||||||
pub fn hovered(&self, rect: Rect) -> bool {
|
pub fn hovered(&self, rect: Rect) -> bool {
|
||||||
self.interact(rect, self.id, Sense::hover()).hovered
|
self.interact(rect, self.id, Sense::hover()).hovered
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user