Move to and line to in correct order
This commit is contained in:
parent
9f18968a56
commit
15ec7b561f
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ class SkewTGraph():
|
|||
sx, sy = self.sample_to_screen(temp, pressure)
|
||||
|
||||
if sx_last is not None:
|
||||
cr.move_to(x + sx, y + sy)
|
||||
cr.line_to(x + sx_last, y + sy_last)
|
||||
cr.move_to(x + sx_last, y + sy_last)
|
||||
cr.line_to(x + sx, y + sy)
|
||||
cr.stroke()
|
||||
|
||||
sx_last = sx
|
||||
|
|
Loading…
Add table
Reference in a new issue