Skip to content

Commit

Permalink
Merge pull request #2675 from chrismanning/tooltip-hover-render
Browse files Browse the repository at this point in the history
Request redraw in tooltip widget when cursor is hovering
  • Loading branch information
hecrj authored Dec 6, 2024
2 parents 9c93341 + 0785071 commit d618229
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions widget/src/tooltip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d618229

Please sign in to comment.