Skip to content

Commit

Permalink
fix: avoid crash on some setups
Browse files Browse the repository at this point in the history
fix #40
  • Loading branch information
vzhd1701 committed Apr 5, 2022
1 parent 3171e01 commit 2334439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gridplayer/player/managers/grid.py
Expand Up @@ -271,6 +271,6 @@ def _fill_last_col(self, widgets):

def _minimum_vb_size(self):
return QSize(
self._minimum_size.width() / self.grid_dimensions.cols,
self._minimum_size.height() / self.grid_dimensions.rows,
self._minimum_size.width() // self.grid_dimensions.cols,
self._minimum_size.height() // self.grid_dimensions.rows,
)

0 comments on commit 2334439

Please sign in to comment.