Commit 8776f62e authored by Turbil's avatar Turbil
Browse files

clean

parent 980a8b0c
......@@ -11,24 +11,7 @@ function getShadowPalette(inputShadowValue){
//console.log(inputShadowValue,"---",shadowPalette[index]);
return shadowPalette[index];
/* Can be ignored for now
if(!Number.isInteger(inputShadowValue)){
var index = Math.ceil((shadowPalette.length-1)*inputShadowValue);
//console.log(shadowPalette[index]);
return shadowPalette[index];
}
//edge case for 0 and 1
else{
//console.log(inputShadowValue);
if(inputShadowValue===0){
//console.log(inputShadowValue);
return shadowPalette[shadowPalette.length-1];
}else{
return shadowPalette[0];
}
//console.log("black",shadowPalette[shadowPalette.length-1]);
return shadowPalette[shadowPalette.length-1];
}*/
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment