Commit c5fe89f2 authored by sstucker's avatar sstucker
Browse files

revert commit c73b7e1b

parent 4f20409d
Loading
Loading
Loading
Loading
+15 −11
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ maingui.axesSDG.handles.ch = hCh(hCh>0);

% ADD SOURCE AND DETECTOR LABELS
hSD = zeros(nSrcs+nDets,1);
if isempty(maingui.axesSDG.handles.SD)
    for idx1 = 1:nSrcs
        if ~isempty(find(MeasList(:,1)==idx1)) %#ok<*EFIND>
            hSD(idx1) = text( SD.SrcPos(idx1,1), SD.SrcPos(idx1,2), sprintf('%d', idx1), 'fontsize',fs, 'fontweight','bold', 'color','r' );
@@ -159,6 +160,9 @@ for idx2 = 1:nDets
        end
    end
    maingui.axesSDG.handles.SD = hSD;
else
    uistack(maingui.axesSDG.handles.SD,'top')
end

% Turn off zoom but only for SDG axes
h=zoom;