Commit a1a19a45 authored by Moreau Nicolas's avatar Moreau Nicolas
Browse files

Fixes samp connection in 1D

parent 11f05974
......@@ -3102,6 +3102,12 @@ function getSingleSpectrum1D(spectroUI, sourceTable){
spectrumViewer.setSpectroUI(spectroUI);
sourceTable.addListener(spectrumViewer);
spectrumViewer.plot(Math.floor(FITS_HEADER.naxis1 / 2), Math.floor(FITS_HEADER.naxis2 / 2));
if (withSAMP) {
// all implement setSampButtonVisible
setOnHubAvailability([spectrumViewer]);
}
return spectrumViewer;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment