mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
change to Sense::hover
This commit is contained in:
@@ -147,8 +147,7 @@ impl<'l> Layout<'l> {
|
|||||||
rect.set_right(self.max.x);
|
rect.set_right(self.max.x);
|
||||||
rect.set_bottom(self.max.y);
|
rect.set_bottom(self.max.y);
|
||||||
|
|
||||||
self.ui
|
self.ui.allocate_rect(rect, Sense::hover());
|
||||||
.allocate_rect(rect, Sense::focusable_noninteractive());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cell(&mut self, rect: Rect, clip: bool, add_contents: impl FnOnce(&mut Ui)) {
|
fn cell(&mut self, rect: Rect, clip: bool, add_contents: impl FnOnce(&mut Ui)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user