Skip to content

Commit

Permalink
Facepalm, get the first x value not the array..
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Jun 22, 2022
1 parent 14c98d8 commit afc95b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion piker/ui/_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,9 @@ def draw_last(
try:
iuppx = x[-uppx]
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(
iuppx, ymn,
Expand Down

0 comments on commit afc95b8

Please sign in to comment.