Skip to content

Commit

Permalink
Merge pull request #107 from brianzhouzc/main
Browse files Browse the repository at this point in the history
fix: timing issue in delay check
  • Loading branch information
gnikit authored Nov 17, 2024
2 parents 51ee214 + 3d8620d commit c13afbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tktooltip/tooltip.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _show(self) -> None:
"""
if (
self.status == ToolTipStatus.INSIDE
and time.time() - self.last_moved > self.delay
and time.time() - self.last_moved >= self.delay
):
self.status = ToolTipStatus.VISIBLE

Expand Down

0 comments on commit c13afbd

Please sign in to comment.