Show sky color on body background instead of dark theme bg
This commit is contained in:
1 parent
0ed8240d3b
commit
d2a2093c49
1 file changed
+2
-1
+2
-1
@@ -996,9 +996,10 @@ var weatherThemes = {
|
||||
cloudColor: c.cloud,
|
||||
lightColor: c.light,
|
||||
backgroundColor: c.bg,
|
||||
backgroundAlpha: 0,
|
||||
speed: currentThemeSpeed
|
||||
});
|
||||
document.body.style.backgroundColor = '#' + ('00000' + c.bg.toString(16)).slice(-6);
|
||||
document.body.style.backgroundColor = '#' + ('00000' + c.sky.toString(16)).slice(-6);
|
||||
updateDebug(t, null, c, currentWeatherThemeName);
|
||||
requestAnimationFrame(animate);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user