Skip to content

Commit

Permalink
Address #63 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Aug 28, 2024
1 parent 8189ab7 commit 7f34e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/CAEN-N1471H/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def __init__(self, widget, text):
self.text = text
self.tooltip = None

self.widget.bind("<Enter>", self.show_tooltip)
self.widget.bind("<Leave>", self.hide_tooltip)
self.widget.bind("<Enter>", lambda _: self.show_tooltip())
self.widget.bind("<Leave>", lambda _: self.show_tooltip())

def show_tooltip(self):
x = self.widget.winfo_rootx() + 20
Expand Down

0 comments on commit 7f34e44

Please sign in to comment.