[Pkg-javascript-commits] [leaflet-markercluster] 09/128: Small bug still using old variable

Jonas Smedegaard dr at jones.dk
Sun Apr 16 06:25:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet-markercluster.

commit 920c58f09c75d47c2dcb538da0854cf96127aefe
Author: danzel <danzel at localhost.geek.nz>
Date:   Thu Jan 30 14:31:16 2014 +1300

    Small bug still using old variable
---
 src/MarkerCluster.Spiderfier.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/MarkerCluster.Spiderfier.js b/src/MarkerCluster.Spiderfier.js
index 8249ad0..c30228b 100644
--- a/src/MarkerCluster.Spiderfier.js
+++ b/src/MarkerCluster.Spiderfier.js
@@ -193,7 +193,7 @@ L.MarkerCluster.include(!L.DomUtil.TRANSITION ? {
 		group._forceLayout();
 		group._animationStart();
 
-		var initialLegOpacity = L.Path.SVG ? 0 : 0.3;
+		var initialLegOpacity = this.SVG_ANIMATION ? 0 : 0.3;
 
 		for (i = childMarkers.length - 1; i >= 0; i--) {
 			newPos = map.layerPointToLatLng(positions[i]);
@@ -238,7 +238,7 @@ L.MarkerCluster.include(!L.DomUtil.TRANSITION ? {
 				anim.setAttribute("attributeName", "stroke-opacity");
 				anim.setAttribute("begin", "indefinite");
 				anim.setAttribute("from", 0);
-				anim.setAttribute("to", 0.5);
+				anim.setAttribute("to", 0.3);
 				anim.setAttribute("dur", 0.25);
 				leg._path.appendChild(anim);
 				anim.beginElement();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git



More information about the Pkg-javascript-commits mailing list