Skip to content

Commit

Permalink
fix the visibility bugs of arrow buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhen committed Jan 3, 2018
1 parent 82dc32a commit 5cb0cb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dockbarx/dockbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ def manage_size_overflow(self):
self.overflow_set = 0
if not groups:
# No buttons are shown on the screen, no size overflow.
self.hide_arrow_buttons()
return
max_size = self.calculate_max_size()
if max_size < self.button_size:
Expand Down Expand Up @@ -834,6 +835,7 @@ def __on_desktop_changed(self, screen=None, workspace=None):
return
for group in self.groups:
group.desktop_changed()
self.groups.manage_size_overflow()


#### Groupbuttons
Expand Down

0 comments on commit 5cb0cb7

Please sign in to comment.