Fixed coloring of names on users

This commit is contained in:
Kasper Rynning-Tønnesen
2016-04-19 21:21:53 +02:00
parent b180ff2af0
commit e21d749795
6 changed files with 38 additions and 12 deletions

View File

@@ -220,7 +220,7 @@ var Player = {
var colorThief = new ColorThief();
var color = colorThief.getColor(img);
document.getElementsByTagName("body")[0].style.backgroundColor = Helper.rgbToHsl(color);
document.getElementsByTagName("body")[0].style.backgroundColor = Helper.rgbToHsl(color,true);
/*document.getElementById("top-button").style.backgroundColor = Helper.rgbToHsl(color);
document.getElementById("bottom-button").style.backgroundColor = Helper.rgbToHsl(color);*/