From 0627fc58571ab1815546d9441b126498db3c9edb Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Fri, 20 Sep 2024 19:59:04 +0900 Subject: [PATCH] Update popup.rs --- crates/egui/src/containers/popup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/containers/popup.rs b/crates/egui/src/containers/popup.rs index 45304245ca4..b4b65e52c3c 100644 --- a/crates/egui/src/containers/popup.rs +++ b/crates/egui/src/containers/popup.rs @@ -87,7 +87,7 @@ pub fn show_tooltip_at_pointer( // Add a small exclusion zone around the pointer to avoid tooltips // covering what we're hovering over. - let mut exclusion_rect = Rect::from_center_size(pointer_pos, Vec2::splat(24.0)); + let mut exclusion_rect = Rect::from_center_size(pointer_pos, Vec2::splat(48.0)); // Keep the left edge of the tooltip in line with the cursor: exclusion_rect.min.x = pointer_pos.x;