Skip to content

Commit

Permalink
Fix dialog shaking in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ObaraEmmanuel committed Jan 12, 2024
1 parent ad764b5 commit 8a2b625
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hoverset/ui/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ def _react(self, step):
self._reaction = -1
return
try:
*_, x, y = self.get_geometry()
_, *xy = self.geometry().split("+")
x, y = map(int, xy)
x += step
self.geometry('+{}+{}'.format(x, y))
self.after(100, lambda: self._react(step * -1))
Expand Down

0 comments on commit 8a2b625

Please sign in to comment.