Set godwidget active cursor from xhair callback

history_view
Tyler Goodlet 2022-09-06 14:24:19 -04:00
parent f070f9a984
commit d3402f715b
1 changed files with 1 additions and 0 deletions

View File

@ -491,6 +491,7 @@ class Cursor(pg.GraphicsObject):
log.debug(f"{(action, plot.name)}") log.debug(f"{(action, plot.name)}")
if action == 'Enter': if action == 'Enter':
self.active_plot = plot self.active_plot = plot
plot.linked.godwidget._active_cursor = self
# show horiz line and y-label # show horiz line and y-label
self.graphics[plot]['hl'].show() self.graphics[plot]['hl'].show()