Show xhair even if order is filled while line is hovered
parent
5610807b8e
commit
6fa1d4dc88
|
@ -392,11 +392,16 @@ class LineEditor:
|
||||||
# try to look up line from our registry
|
# try to look up line from our registry
|
||||||
line = self._order_lines.pop(uuid, None)
|
line = self._order_lines.pop(uuid, None)
|
||||||
if line:
|
if line:
|
||||||
|
|
||||||
# if hovered remove from cursor set
|
# if hovered remove from cursor set
|
||||||
hovered = self.chart._cursor._hovered
|
hovered = self.chart._cursor._hovered
|
||||||
if line in hovered:
|
if line in hovered:
|
||||||
hovered.remove(line)
|
hovered.remove(line)
|
||||||
|
|
||||||
|
# make sure the xhair doesn't get left off
|
||||||
|
# just because we never got a un-hover event
|
||||||
|
self.chart._cursor.show_xhair()
|
||||||
|
|
||||||
line.delete()
|
line.delete()
|
||||||
return line
|
return line
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue