Merge pull request #2675 from chrismanning/tooltip-hover-render

Request redraw in tooltip widget when cursor is hovering
This commit is contained in:
Héctor 2024-12-06 06:25:29 +01:00 committed by GitHub
commit d6182299b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -213,6 +213,9 @@ where
if was_idle != is_idle {
shell.invalidate_layout();
shell.request_redraw();
} else if !is_idle && self.position == Position::FollowCursor {
shell.request_redraw();
}
self.content.as_widget_mut().update(