fix 'show portal weakness, so it sets the fill, rather than border, colour when marking a not-weak portal

This commit is contained in:
Jon Atkins 2013-08-26 00:56:41 +01:00
parent 3c90960e4c
commit 7344e19265

View File

@ -77,7 +77,7 @@ window.plugin.portalWeakness.highlightWeakness = function(data) {
} }
data.portal.setStyle(params); data.portal.setStyle(params);
} else { } else {
data.portal.setStyle({color: COLORS[getTeam(data.portal.options.details)], data.portal.setStyle({fillColor: COLORS[getTeam(data.portal.options.details)],
fillOpacity: 0.5, fillOpacity: 0.5,
dashArray: null}); dashArray: null});
} }