Skip to content

Commit ae70daa

Browse files
committed
fix: Tooltip following the mouse cursor even if follow is set to False
1 parent 683e33b commit ae70daa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tktooltip/tooltip.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ def animation():
223223

224224
if self.animations:
225225
threading.Thread(target=animation, daemon=True).start()
226+
else:
227+
self.is_shown = True
226228

227229
# Recursively call _show to update ToolTip with the newest value of msg
228230
# This is a race condition which only exits when upon a binding change

0 commit comments

Comments
 (0)