Skip to content

Commit

Permalink
Warn user about zoom reset
Browse files Browse the repository at this point in the history
when changing orientation
  • Loading branch information
pllim committed Apr 12, 2024
1 parent 1d571eb commit eb1a5d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jdaviz/configs/imviz/plugins/orientation/orientation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<j-tray-plugin
:description="docs_description || 'Rotate the viewer orientation or choose to align images by pixels.'"
:link="docs_link || 'https://jdaviz.readthedocs.io/en/'+vdocs+'/'+config+'/plugins.html#imviz-orientation'"
:popout_button="popout_button"
:popout_button="popout_button"
:scroll_to.sync="scroll_to"
:disabled_msg='disabled_msg'>

Expand All @@ -14,6 +14,10 @@
Please add at least one data with valid WCS to align by sky (WCS).
</v-alert>

<v-alert v-if="wcs_linking_available" type='warning' style="margin-left: -12px; margin-right: -12px">
Switching link type will reset zoom.
</v-alert>

<v-alert v-if="need_clear_astrowidget_markers" type='warning' style="margin-left: -12px; margin-right: -12px">
Astrowidget markers must be cleared before changing alignment/linking options.
<v-row justify="end" style="margin-right: 2px; margin-top: 16px">
Expand Down

0 comments on commit eb1a5d5

Please sign in to comment.