transparency

This commit is contained in:
Dragon Fire
2024-03-24 13:14:36 -04:00
parent 5101a736a0
commit 9e4c37326a
+2
View File
@@ -143,7 +143,9 @@ module.exports = class WhosThatPokemonCommand extends Command {
ctx.textBaseline = 'bottom';
ctx.lineWidth = 8;
ctx.strokeStyle = 'black';
ctx.globalAlpha = 0.5;
ctx.strokeText(pokemon.name, 357, 163, 240);
ctx.globalAlpha = 1;
ctx.strokeStyle = '#3c5aa6';
ctx.strokeText(pokemon.name, 362, 158, 240);
ctx.fillStyle = '#ffcb05';