Request redraw in tooltip widget when cursor is hovering
This commit is contained in:
parent
e8f8216ea1
commit
0a39f5eac7
1 changed files with 2 additions and 0 deletions
|
|
@ -213,6 +213,8 @@ where
|
||||||
|
|
||||||
if was_idle != is_idle {
|
if was_idle != is_idle {
|
||||||
shell.invalidate_layout();
|
shell.invalidate_layout();
|
||||||
|
} else if self.position == Position::FollowCursor && *state != State::Idle {
|
||||||
|
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