Facepalm, get the first x value not the array..
parent
14c98d82ee
commit
afc95b8592
|
@ -753,7 +753,9 @@ class Flow(msgspec.Struct): # , frozen=True):
|
||||||
try:
|
try:
|
||||||
iuppx = x[-uppx]
|
iuppx = x[-uppx]
|
||||||
except IndexError:
|
except IndexError:
|
||||||
iuppx = x
|
# we're less then an x-px wide so just grab the start
|
||||||
|
# datum index.
|
||||||
|
iuppx = x[0]
|
||||||
|
|
||||||
dsg._last_line = QLineF(
|
dsg._last_line = QLineF(
|
||||||
iuppx, ymn,
|
iuppx, ymn,
|
||||||
|
|
Loading…
Reference in New Issue