Skip to content

Commit

Permalink
Merge branch 'fix-float-error' of https://github.com/chaichontat/cell…
Browse files Browse the repository at this point in the history
…pose into chaichontat-fix-float-error
  • Loading branch information
carsen-stringer committed May 1, 2022
2 parents ecb0858 + 5080908 commit 4455d9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cellpose/gui/guiparts.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,8 +787,8 @@ def paintEvent(self, event):
else:
opt.activeSubControls = self.hover_control

opt.sliderPosition = value
opt.sliderValue = value
opt.sliderPosition = int(value)
opt.sliderValue = int(value)
style.drawComplexControl(QStyle.CC_Slider, opt, painter, self)


Expand Down

0 comments on commit 4455d9c

Please sign in to comment.