From 1ff3119a008b14d959797659207cf542b443ed03 Mon Sep 17 00:00:00 2001 From: Duy Nguyen Date: Thu, 24 Oct 2024 16:42:54 -0400 Subject: [PATCH] Add note to clarify viewer subscription regardless of tracking toggle --- jdaviz/configs/default/plugins/virtual_observatory/vo_plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jdaviz/configs/default/plugins/virtual_observatory/vo_plugin.py b/jdaviz/configs/default/plugins/virtual_observatory/vo_plugin.py index 59f1b67874..2f06834809 100644 --- a/jdaviz/configs/default/plugins/virtual_observatory/vo_plugin.py +++ b/jdaviz/configs/default/plugins/virtual_observatory/vo_plugin.py @@ -129,6 +129,8 @@ def vue_viewer_changed(self, _=None): return # Clear all existing subscriptions and resubscribe to selected viewer + # NOTE: Viewer subscription needed regardless of coord_follow_viewer_pan in order + # to detect when coords are centered on viewer, regardless of viewer tracking for viewer in self.viewer.viewers: if viewer == self.viewer.selected_obj: viewer.state.add_callback("zoom_center_x", self.vue_center_on_data)