Changeset 669 for trunk/src/mouse_down.m


Ignore:
Timestamp:
Jul 17, 2013, 8:00:32 AM (8 years ago)
Author:
sommeria
Message:

a few bugs corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_down.m

    r660 r669  
    6060    test_ruler=isequal(get(hhuvmat.MenuRuler,'checked'),'on');%test for ruler  action, second priority;
    6161    test_edit=get(hhuvmat.CheckEditObject,'Value')&& (isequal(obj_tag,'proj_object')||isequal(obj_tag,'DeformPoint'));%test for object editing, third priority
    62     hset_object=findobj(allchild(0),'tag','set_object');
     62    hset_object=findobj(allchild(0),'Name','set_object');
    6363    if ~isempty(hset_object)
    6464        hPLOT=findobj(hset_object,'tag','PLOT');
     
    182182
    183183%% Creation of a display window zoom of text_display
    184 if isequal(get(hObject,'SelectionType'),'alt') && strcmp(htype,'axes') && ~test_edit && ~test_create
     184if strcmp(get(hObject,'SelectionType'),'alt') && strcmp(htype,'axes') && ~test_edit && ~test_create
    185185    set(0,'Unit','pixels')
    186186    GUISize=get(0,'ScreenSize');% get the size of the screen, to put the fig on the upper right   
Note: See TracChangeset for help on using the changeset viewer.