Request redraw in tooltip when State changes

This commit is contained in:
Héctor Ramón Jiménez 2024-12-06 06:16:16 +01:00
parent 0a39f5eac7
commit 07850718fc
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -213,7 +213,8 @@ where
if was_idle != is_idle {
shell.invalidate_layout();
} else if self.position == Position::FollowCursor && *state != State::Idle {
shell.request_redraw();
} else if !is_idle && self.position == Position::FollowCursor {
shell.request_redraw();
}