[OpenLayers-Commits] r4193 - sandbox/camptocamp/feature/lib/OpenLayers/Handler
commits at openlayers.org
commits at openlayers.org
Thu Sep 6 06:15:59 EDT 2007
Author: fredj
Date: 2007-09-06 06:15:58 -0400 (Thu, 06 Sep 2007)
New Revision: 4193
Modified:
sandbox/camptocamp/feature/lib/OpenLayers/Handler/Path.js
Log:
test always return true
Modified: sandbox/camptocamp/feature/lib/OpenLayers/Handler/Path.js
===================================================================
--- sandbox/camptocamp/feature/lib/OpenLayers/Handler/Path.js 2007-09-06 09:10:14 UTC (rev 4192)
+++ sandbox/camptocamp/feature/lib/OpenLayers/Handler/Path.js 2007-09-06 10:15:58 UTC (rev 4193)
@@ -199,10 +199,7 @@
var snapped = this.snappingHandler.getPoint(cursor);
if (!cursor.equals(snapped)) {
- var style = this.snappingHandler.getPointStyle();
- if (style) {
- this.pointStyle = style;
- }
+ this.pointStyle = this.snappingHandler.getPointStyle();
} else {
this.pointStyle = OpenLayers.Feature.Vector.style['default'];
}
More information about the Commits
mailing list