Update animation shadow color.

This commit is contained in:
yukirij 2024-08-27 11:50:28 -07:00
parent a02d876696
commit 309d995541

View File

@ -17,9 +17,11 @@ const INTERFACE = {
TileDark: "#101010", TileDark: "#101010",
Dawn: "#ffe082", Dawn: "#ffe082",
DawnMedium: "#fca03f",
DawnDark: "#ff6d00", DawnDark: "#ff6d00",
Dusk: "#f6a1bd", Dusk: "#f6a1bd",
DuskMedium: "#e84a79",
DuskDark: "#c51162", DuskDark: "#c51162",
HintHover: "#71a1e8", HintHover: "#71a1e8",
@ -642,9 +644,10 @@ const INTERFACE = {
from_y = to_y - (gui_scale / 1.5); from_y = to_y - (gui_scale / 1.5);
switch(piece.player) { switch(piece.player) {
case 0: ctx.fillStyle = INTERFACE.Color.Dawn; break; case 0: ctx.fillStyle = INTERFACE.Color.DawnMedium; break;
case 1: ctx.fillStyle = INTERFACE.Color.Dusk; break; case 1: ctx.fillStyle = INTERFACE.Color.DuskMedium; break;
} }
//ctx.fillStyle = INTERFACE.Color.AnimateShadow;
ctx.save(); ctx.save();
ctx.translate(to_x, to_y); ctx.translate(to_x, to_y);