- Timestamp:
- Jun 23, 2010, 4:54:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_motion.m
r103 r104 62 62 for ichild=1:length(hchild) 63 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 64 if numel(obj_pos)~=4% for some versions of matlab a uicontextmenu appears 65 continue 67 66 end%position of the object 68 67 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);
Note: See TracChangeset
for help on using the changeset viewer.