Nits
This commit is contained in:
@ -51,8 +51,7 @@ window.plugin.portalWeakness.portalAdded = function(data) {
|
|||||||
if(portal_weakness < 0) {
|
if(portal_weakness < 0) {
|
||||||
portal_weakness = 0;
|
portal_weakness = 0;
|
||||||
}
|
}
|
||||||
if(portal_weakness > 1)
|
if(portal_weakness > 1) {
|
||||||
{
|
|
||||||
portal_weakness = 1;
|
portal_weakness = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -69,8 +68,7 @@ window.plugin.portalWeakness.portalAdded = function(data) {
|
|||||||
}
|
}
|
||||||
fill_opacity = Math.round(fill_opacity*100)/100;
|
fill_opacity = Math.round(fill_opacity*100)/100;
|
||||||
var params = {fillColor: color, fillOpacity: fill_opacity};
|
var params = {fillColor: color, fillOpacity: fill_opacity};
|
||||||
if(resCount < 8)
|
if(resCount < 8) {
|
||||||
{
|
|
||||||
// Hole per missing resonator
|
// Hole per missing resonator
|
||||||
var dash = new Array(8-resCount + 1).join("1,4,") + "100,0"
|
var dash = new Array(8-resCount + 1).join("1,4,") + "100,0"
|
||||||
params["dashArray"] = dash;
|
params["dashArray"] = dash;
|
||||||
|
Reference in New Issue
Block a user