Skip to content

Commit

Permalink
fix: "range" in range-around z-stack widget starts form 0 (no negativ…
Browse files Browse the repository at this point in the history
…e numbers) (#379)

fix: range from 0
  • Loading branch information
fdrgsp authored Nov 8, 2024
1 parent 7668eda commit e80b7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymmcore_widgets/useq_widgets/_z.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def __init__(self, parent: QWidget | None = None) -> None:
self.steps.setValue(0)

self.range = QDoubleSpinBox()
self.range.setRange(-10_000, 10_000)
self.range.setRange(0, 10_000)
self.range.setSingleStep(0.1)
self.range.setDecimals(3)
self.range.setValue(0)
Expand Down

0 comments on commit e80b7c5

Please sign in to comment.