Skip to content

Commit

Permalink
Fix size calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhen committed Dec 9, 2023
1 parent 31209c2 commit 1d59830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockbarx/dockbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def manage_size_overflow(self):
self.hide_arrow_buttons()
return
self.show_arrow_buttons()
max_size, max_size_no_arrow = self.calculate_max_sizes()
max_size_no_arrow, max_size = self.calculate_max_sizes()
max_buttons = max_size // self.button_size
max_buttons_no_arrow = max_size_no_arrow // self.button_size
groups_num = len(groups)
Expand Down

0 comments on commit 1d59830

Please sign in to comment.