change to Sense::hover

This commit is contained in:
René Rössler 2022-02-09 16:11:17 +01:00
parent 787b1ad8be
commit 35c8e97b75

View file

@ -147,8 +147,7 @@ impl<'l> Layout<'l> {
rect.set_right(self.max.x);
rect.set_bottom(self.max.y);
self.ui
.allocate_rect(rect, Sense::focusable_noninteractive());
self.ui.allocate_rect(rect, Sense::hover());
}
fn cell(&mut self, rect: Rect, clip: bool, add_contents: impl FnOnce(&mut Ui)) {