Skip to content

Commit

Permalink
Merge pull request #53 from xuzhen/master
Browse files Browse the repository at this point in the history
fix the visibility bugs of arrow buttons
  • Loading branch information
Matias Särs authored Jan 3, 2018
2 parents 82dc32a + 5cb0cb7 commit 3793ae7
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 3793ae7

Please sign in to comment.