diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index a144d999..1f4665f0 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -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