mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -403,7 +403,7 @@ module.exports = class CarRaceCommand extends Command {
|
||||
path.join(__dirname, '..', '..', 'assets', 'images', 'car-race', 'congrats.png')
|
||||
);
|
||||
ctx.drawImage(fireworks, 106, -48, 400, 283);
|
||||
ctx.drawImage(congrats, 182, 21, 250, 62);
|
||||
ctx.drawImage(congrats, (bg.width / 2) - (250 / 2), 21, 250, 62);
|
||||
ctx.fillStyle = 'black';
|
||||
const x = (bg.width / 2) - 50;
|
||||
ctx.fillRect(x - 5, 85, 110, 110);
|
||||
|
||||
Reference in New Issue
Block a user