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
|
||||
line = self._order_lines.pop(uuid, None)
|
||||
if line:
|
||||
|
||||
# if hovered remove from cursor set
|
||||
hovered = self.chart._cursor._hovered
|
||||
if line in hovered:
|
||||
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()
|
||||
return line
|
||||
|
||||
|
|
Loading…
Reference in New Issue