[fusion-commits] r3011 - sandbox/adsk/3.1n/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Sun Nov 12 17:30:39 PST 2017
Author: zhanga
Date: 2017-11-12 17:30:39 -0800 (Sun, 12 Nov 2017)
New Revision: 3011
Modified:
sandbox/adsk/3.1n/widgets/Measure.js
Log:
Fix bug: Features are selected when using measure tool.
Modified: sandbox/adsk/3.1n/widgets/Measure.js
===================================================================
--- sandbox/adsk/3.1n/widgets/Measure.js 2017-10-24 01:42:22 UTC (rev 3010)
+++ sandbox/adsk/3.1n/widgets/Measure.js 2017-11-13 01:30:39 UTC (rev 3011)
@@ -467,6 +467,7 @@
this.getMap().supressContextMenu(true);
this.updateButtonStates();
//This is digitization, so trigger the necessary event
+ this.getMap().isDigitizing = true;
this.getMap().triggerEvent(Fusion.Event.MAP_DIGITIZER_ACTIVATED);
},
@@ -478,6 +479,7 @@
this.getMap().supressContextMenu(false);
this.updateButtonStates();
//This is digitization, so trigger the necessary event
+ this.getMap().isDigitizing = false;
this.getMap().triggerEvent(Fusion.Event.MAP_DIGITIZER_DEACTIVATED);
},
More information about the fusion-commits
mailing list