Ignore:
Timestamp:
Feb 22, 2014, 5:11:04 PM (10 years ago)
Author:
sommeria
Message:

various improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_motion.m

    r701 r714  
    2525function mouse_motion(hObject,eventdata,handles)
    2626
    27 if ~exist('handles','var')
    28     set(hCurrentFig,'Pointer','arrow');
    29     return
    30 end
     27% if ~exist('handles','var')
     28%     set(hCurrentFig,'Pointer','arrow');
     29%     return
     30% end
    3131FigData=get(hObject,'UserData');
    3232if ishandle(FigData)% case of a zoom plot, the handle of the parent rectangle is stored in UserData, its parent is the plotting axes of the rectangle
     
    3434else
    3535    hCurrentFig=hObject;%usual plot
     36end
     37if strcmp(get(hCurrentFig,'Pointer'),'watch')
     38    return % no action if a calculation is running
    3639end
    3740hhCurrentFig=guidata(hCurrentFig);%handles of the elements in the GUI containing the current figure (uvmat or view_field)
Note: See TracChangeset for help on using the changeset viewer.