commented some consolelog
This commit is contained in:
@@ -29,7 +29,7 @@ export default {
|
||||
// let hue = Math.floor(Math.random()*360)
|
||||
for (let j = 0; j < num_colors; j++) {
|
||||
let pos = (1/num_colors*j + 1/num_colors/3 + Math.random()*1/num_colors/3)*100;
|
||||
console.log('gradient pos', pos);
|
||||
// console.log('gradient pos', pos);
|
||||
|
||||
colors.push({
|
||||
color: this.getRandBGColor(),
|
||||
@@ -43,7 +43,7 @@ export default {
|
||||
// })
|
||||
gradients.push(colors)
|
||||
}
|
||||
console.log('gradients', gradients);
|
||||
// console.log('gradients', gradients);
|
||||
|
||||
let cssgrad = '';
|
||||
gradients.forEach((gradient, index) => {
|
||||
@@ -55,7 +55,7 @@ export default {
|
||||
cssgrad += index < gradients.length-1 ? '),' : ')';
|
||||
});
|
||||
// cssgrad += ';';
|
||||
console.log('cssgrad', cssgrad);
|
||||
// console.log('cssgrad', cssgrad);
|
||||
gradientBackground.style.background = cssgrad;
|
||||
},
|
||||
getRandBGColor (hue) {
|
||||
|
Reference in New Issue
Block a user