diff --git a/jdaviz/configs/imviz/plugins/tools.py b/jdaviz/configs/imviz/plugins/tools.py index 43ef2f2538..3c9e586940 100644 --- a/jdaviz/configs/imviz/plugins/tools.py +++ b/jdaviz/configs/imviz/plugins/tools.py @@ -111,9 +111,13 @@ def activate(self): def deactivate(self): self.viewer.remove_event_callback(self.on_click) - def on_click(self, *args): + def on_click(self, data): self.viewer.blink_once() + # Also update the coordinates display. + data['event'] = 'mousemove' + self.viewer.on_mouse_or_key_event(data) + @viewer_tool class MatchBoxZoom(_MatchedZoomMixin, BoxZoom):