Changeset 103


Ignore:
Timestamp:
Jun 23, 2010, 4:43:44 PM (15 years ago)
Author:
gostiaux
Message:

Bug on recent version of matlab corrected (apparently a void uicontext menu is included in the R2009b version)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_motion.m

    r79 r103  
    6161haxes=[];
    6262for ichild=1:length(hchild)
    63     obj_pos=get(hchild(ichild),'Position');%position of the object
     63    obj_pos=get(hchild(ichild),'Position');
     64    if numel(obj_pos)~=4% for some versions of matlab some objects
     65        get(hchild(ichild))
     66%         continue
     67    end%position of the object
    6468    if xy_fig(1) >=obj_pos(1) & xy_fig(2) >= obj_pos(2)& xy_fig(1) <=obj_pos(1)+obj_pos(3) & xy_fig(2) <= obj_pos(2)+obj_pos(4);
    6569        htype=get(hchild(ichild),'Type');%type of the crrent child
Note: See TracChangeset for help on using the changeset viewer.