Merge pull request #2675 from chrismanning/tooltip-hover-render
Request redraw in tooltip widget when cursor is hovering
This commit is contained in:
commit
d6182299b9
1 changed files with 3 additions and 0 deletions
|
|
@ -213,6 +213,9 @@ where
|
||||||
|
|
||||||
if was_idle != is_idle {
|
if was_idle != is_idle {
|
||||||
shell.invalidate_layout();
|
shell.invalidate_layout();
|
||||||
|
shell.request_redraw();
|
||||||
|
} else if !is_idle && self.position == Position::FollowCursor {
|
||||||
|
shell.request_redraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
self.content.as_widget_mut().update(
|
self.content.as_widget_mut().update(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue