Request redraw in tooltip widget when cursor is hovering

This commit is contained in:
Chris Manning 2024-11-24 15:04:52 +00:00
parent e8f8216ea1
commit 0a39f5eac7

View file

@ -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(