Changeset 714 for trunk/src/mouse_up.m


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_up.m

    r701 r714  
    127127    %% stop drawing and plot the projected field if the object manipulation is finished
    128128    if check_multiple==0  || isequal(get(hcurrentfig,'SelectionType'),'alt')
     129        pointer=get(hcurrentfig,'Pointer');%memorize the current pointer shape
     130        set(hcurrentfig,'Pointer','watch')% set the pointer shape to watch to prevent further mouse action
    129131        AxeData.CurrentOrigin=[]; %suppress the current origin
    130132        hobject=UvData.ProjObject{IndexObj}.DisplayHandle.(FigTag);
     
    175177            UvData.ProjObject{IndexObj}=rmfield(UvData.ProjObject{IndexObj},'CreateMode');%remove createMode to mark the object as finished
    176178        end
     179        set(hcurrentfig,'Pointer',pointer)% % revert the pointer shape to allow further mouse action
    177180    else
    178181        test_drawing=1;%allow continuation of drawing object
Note: See TracChangeset for help on using the changeset viewer.