Skip to content
Snippets Groups Projects
Commit ec672c77 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

change pointer to watch when draw map

parent 3a82e7a2
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,12 @@ function plot_map(hTsgGUI, hPlotAxes)
% -------------------------------
tsg = getappdata( hTsgGUI, 'tsg_data');
% save pointer and change it to watch
% -----------------------------------
pointer = get(hTsgGUI, 'pointer');
set(hTsgGUI, 'pointer', 'watch');
set(get(hPlotAxes(4), 'parent'), 'pointer', 'watch');
% Retrieve map border
% --------------------
border = tsg.preference.map_border;
......@@ -204,5 +210,10 @@ if ~isempty( ind )
% ------------------
setappdata( hTsgGUI, 'tsg_data', tsg);
% restore pointer
% ---------------
set(hTsgGUI, 'pointer', pointer);
set(get(hPlotAxes(4), 'parent'), 'pointer', pointer);
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment