Skip to content

Commit

Permalink
Provide int to self._play_timer.setInterval
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Dec 24, 2024
1 parent 8a1d6ab commit 53f6f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue_qt/viewers/common/data_slice_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _adjust_play(self, action):
self._play_timer.stop()
else:
self._play_timer.start()
self._play_timer.setInterval(500 / abs(self._play_speed))
self._play_timer.setInterval(500 // abs(self._play_speed))

Check warning on line 163 in glue_qt/viewers/common/data_slice_widget.py

View check run for this annotation

Codecov / codecov/patch

glue_qt/viewers/common/data_slice_widget.py#L163

Added line #L163 was not covered by tests

def _play_slice(self):
if self._play_speed > 0:
Expand Down

0 comments on commit 53f6f05

Please sign in to comment.