mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 08:17:35 +02:00
Fix
This commit is contained in:
@@ -74,6 +74,7 @@ module.exports = class BoardroomMeetingCommand extends Command {
|
|||||||
const canvas = createCanvas(base.width, base.height);
|
const canvas = createCanvas(base.width, base.height);
|
||||||
const ctx = canvas.getContext('2d');
|
const ctx = canvas.getContext('2d');
|
||||||
ctx.drawImage(base, 0, 0);
|
ctx.drawImage(base, 0, 0);
|
||||||
|
ctx.textBaseline = 'top';
|
||||||
ctx.font = '25px Noto';
|
ctx.font = '25px Noto';
|
||||||
ctx.fillText(question, 153, 8, 300);
|
ctx.fillText(question, 153, 8, 300);
|
||||||
ctx.font = '15px Noto';
|
ctx.font = '15px Noto';
|
||||||
|
|||||||
Reference in New Issue
Block a user