Commit 06eb9db7 authored by Thomas Vincent's avatar Thomas Vincent

fix ROI display in stack view

parent 41d273fc
......@@ -576,9 +576,9 @@ class QSpaceView(Qt.QMainWindow):
frame = self.__stackView.getFrameNumber()
begin, end = roiSliders[zLabel].getPositions()
if begin <= frame <= end:
if begin <= frame < end:
# Fill for edges of the ROI
fill = (frame == begin) or (frame == end)
fill = (frame == begin) or (frame == end - 1)
xRange = roiSliders[xLabel].getValues()
yRange = roiSliders[yLabel].getValues()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment