Skip to content

Commit

Permalink
revert changes commited by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Štěpán Marousek committed Nov 21, 2024
1 parent f42a36b commit 609dba2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ def task(arg1, arg2, arg3, prog_sig: pyqtSignal, change_desc: pyqtSignal):

@staticmethod
def _set_default_settings():
qtlongrun_settings.default.spinner_style.n_dots = 7
qtlongrun_settings.default.spinner_style.dot_radius = 14
qtlongrun_settings.default.spinner_style.style = SpinnerStyle.image

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion qtlongrun/_loading_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _resize_image(self):

def resizeEvent(self, event):
"""Update internal parameters when the widget is resized."""
self._dot_radius = min(self.width(), self.height()) / 9 # Adjust dot size relative to widget size
self._dot_radius = min(self.width(), self.height()) / 15 # Adjust dot size relative to widget size
self.update() # Trigger a repaint when resizing
super().resizeEvent(event)

Expand Down

0 comments on commit 609dba2

Please sign in to comment.