WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit d618229

Browse files
authored
Merge pull request #2675 from chrismanning/tooltip-hover-render
Request redraw in tooltip widget when cursor is hovering
2 parents 9c93341 + 0785071 commit d618229

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

widget/src/tooltip.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ where
213213

214214
if was_idle != is_idle {
215215
shell.invalidate_layout();
216+
shell.request_redraw();
217+
} else if !is_idle && self.position == Position::FollowCursor {
218+
shell.request_redraw();
216219
}
217220

218221
self.content.as_widget_mut().update(

0 commit comments

Comments
 (0)