Update utils.mjs

This commit is contained in:
lowlighter
2021-04-08 22:37:59 +02:00
parent b36e2a63c2
commit b716b608de

View File

@@ -274,7 +274,7 @@
}
/**Create record from puppeteer browser */
export async function record({page, width, height, frames, scale = 1, quality = 80, x = 0, y = 0, delay = 150, background = yes}) {
export async function record({page, width, height, frames, scale = 1, quality = 80, x = 0, y = 0, delay = 150, background = true}) {
//Register images frames
const images = []
for (let i = 0; i < frames; i++) {