mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -87,7 +87,7 @@ module.exports = class HorseRaceCommand extends Command {
|
||||
const horseImg = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'horse-race', 'horse.png'));
|
||||
const canvas = createCanvas(lb.width, lb.height);
|
||||
const ctx = canvas.getContext('2d');
|
||||
ctx.drawImage(base, 0, 0);
|
||||
ctx.drawImage(lb, 0, 0);
|
||||
ctx.font = '34px Paladins';
|
||||
ctx.textAlign = 'center';
|
||||
ctx.textBaseline = 'middle';
|
||||
|
||||
Reference in New Issue
Block a user