Changeset 714 for trunk/src/mouse_motion.m
- Timestamp:
- Feb 22, 2014, 5:11:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_motion.m
r701 r714 25 25 function mouse_motion(hObject,eventdata,handles) 26 26 27 if ~exist('handles','var')28 set(hCurrentFig,'Pointer','arrow');29 return30 end27 % if ~exist('handles','var') 28 % set(hCurrentFig,'Pointer','arrow'); 29 % return 30 % end 31 31 FigData=get(hObject,'UserData'); 32 32 if 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 … … 34 34 else 35 35 hCurrentFig=hObject;%usual plot 36 end 37 if strcmp(get(hCurrentFig,'Pointer'),'watch') 38 return % no action if a calculation is running 36 39 end 37 40 hhCurrentFig=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.