mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -52,6 +52,7 @@ module.exports = class FireCommand extends Command {
|
||||
encoder.setRepeat(0);
|
||||
encoder.setDelay(4);
|
||||
encoder.setQuality(200);
|
||||
encoder.setTransparent('#000000');
|
||||
const ratio = avatar.width / avatar.height;
|
||||
const height = Math.round(avatar.width / ratio);
|
||||
for (let i = 0; i < frameCount; i += 2) {
|
||||
|
||||
Reference in New Issue
Block a user