mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
transparency
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user