From 35c8e97b7551f69f0450f75e13e87c4e2c6e7a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20R=C3=B6ssler?= Date: Wed, 9 Feb 2022 16:11:17 +0100 Subject: [PATCH] change to Sense::hover --- egui_extras/src/layout.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/egui_extras/src/layout.rs b/egui_extras/src/layout.rs index 7e1dad01..fc8d211a 100644 --- a/egui_extras/src/layout.rs +++ b/egui_extras/src/layout.rs @@ -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)) {