[mapguide-commits] r6949 - branches/2.4/MgDev/Desktop/MapViewer

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Aug 23 05:03:39 PDT 2012


Author: jng
Date: 2012-08-23 05:03:39 -0700 (Thu, 23 Aug 2012)
New Revision: 6949

Modified:
   branches/2.4/MgDev/Desktop/MapViewer/MgMapViewer.cs
Log:
mg-desktop: Do not perform dragging logic if the viewer is currently busy.

Modified: branches/2.4/MgDev/Desktop/MapViewer/MgMapViewer.cs
===================================================================
--- branches/2.4/MgDev/Desktop/MapViewer/MgMapViewer.cs	2012-08-23 05:16:48 UTC (rev 6948)
+++ branches/2.4/MgDev/Desktop/MapViewer/MgMapViewer.cs	2012-08-23 12:03:39 UTC (rev 6949)
@@ -2641,7 +2641,7 @@
 
             if (this.ActiveTool == MapActiveTool.Pan || this.ActiveTool == MapActiveTool.Select || this.ActiveTool == MapActiveTool.ZoomIn)
             {
-                if (e.Location != dragStart && !isDragging && e.Button == MouseButtons.Left)
+                if (e.Location != dragStart && !isDragging && e.Button == MouseButtons.Left && !IsBusy)
                 {
                     isDragging = true;
                 }



More information about the mapguide-commits mailing list