Fix multiple tooltips sometimes appearing at once

This commit is contained in:
Supercam19 2023-02-21 23:04:23 -05:00
parent 4a35787e90
commit 456863aa23

View File

@ -75,6 +75,7 @@ class CTkTooltip(CTkToplevel):
def show(self, event=None):
# Get the position the tooltip needs to appear at
if self._visible: return
super().__init__(self.master)
super().withdraw() # hide and reshow window once all code is ran to fix issues due to slower machines (??)
self._visible = True