From 0a39f5eac7987495de81f19c6c83258227312554 Mon Sep 17 00:00:00 2001 From: Chris Manning Date: Sun, 24 Nov 2024 15:04:52 +0000 Subject: Request redraw in tooltip widget when cursor is hovering --- widget/src/tooltip.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widget/src/tooltip.rs') diff --git a/widget/src/tooltip.rs b/widget/src/tooltip.rs index e66f5e4a..3b9d2066 100644 --- a/widget/src/tooltip.rs +++ b/widget/src/tooltip.rs @@ -213,6 +213,8 @@ where if was_idle != is_idle { shell.invalidate_layout(); + } else if self.position == Position::FollowCursor && *state != State::Idle { + shell.request_redraw(); } self.content.as_widget_mut().update( -- cgit