mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-29 21:41:00 +00:00
Fixed coloring of names on users
This commit is contained in:
@@ -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);*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user