mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-09 18:39:35 +02:00
Fix
This commit is contained in:
@@ -84,7 +84,7 @@ module.exports = class EjectCommand extends Command {
|
||||
ctx.drawImage(avatar, x, (frame.height / 2) - 25, 50, 50);
|
||||
ctx.rotate(-rotation * (Math.PI / 180));
|
||||
}
|
||||
if (i <= 20) {
|
||||
if (i >= 10 && i <= 20) {
|
||||
ctx.drawImage(frame, 0, 0);
|
||||
const letters = Math.ceil((text.length / 10) * (i + 1));
|
||||
const toDraw = text.slice(0, letters + 1);
|
||||
|
||||
Reference in New Issue
Block a user