File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/firefly/js/templates/lightcurve Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ export function setupImages(tbl_id) {
209
209
const tableModel = getTblById ( tbl_id ) ;
210
210
if ( ! tableModel || isNil ( tableModel . highlightedRow ) ) return ;
211
211
var vr = visRoot ( ) ;
212
+ const hasPlots = vr . plotViewAry . length > 0 ;
212
213
const newPlotIdAry = makePlotIds ( tableModel . highlightedRow , tableModel . totalRows , count ) ;
213
214
const maxPlotIdAry = makePlotIds ( tableModel . highlightedRow , tableModel . totalRows , MAX_IMAGE_CNT ) ;
214
215
@@ -232,7 +233,7 @@ export function setupImages(tbl_id) {
232
233
233
234
234
235
vr = visRoot ( ) ;
235
- if ( ! vr . wcsMatchType ) {
236
+ if ( ! vr . wcsMatchType && ! hasPlots ) {
236
237
dispatchWcsMatch ( { matchType :WcsMatchType . Target , plotId :newActivePlotId } ) ;
237
238
}
238
239
You can’t perform that action at this time.
0 commit comments