mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix alert font size
This commit is contained in:
@@ -53,7 +53,7 @@ module.exports = class AlertCommand extends Command {
|
||||
const canvas = createCanvas(base.width, base.height);
|
||||
const ctx = canvas.getContext('2d');
|
||||
ctx.drawImage(base, 0, 0);
|
||||
ctx.font = '28px SF Pro';
|
||||
ctx.font = '30px SF Pro';
|
||||
ctx.fillStyle = '#1f1f1f';
|
||||
ctx.textBaseline = 'top';
|
||||
let text = await wrapText(ctx, message, 540);
|
||||
|
||||
Reference in New Issue
Block a user