Skip to content

Commit

Permalink
style: auto-format with action
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing authored and actions-user committed Nov 3, 2024
1 parent bd31a55 commit bb82a48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion playgrounds/app/src/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,10 @@ export default function Editor(props: EditorProps) {
format: 'blob',
width: canvasFrames[0].width,
height: canvasFrames[0].height,
frames: canvasFrames.map(el => ({ data: el.data.buffer, delay: (animationSeconds * 1000) / animationFPS}))
frames: canvasFrames.map(el => ({
data: el.data.buffer,
delay: (animationSeconds * 1000) / animationFPS,
})),
})

const dataUrl = await blobToDataURL(blob)
Expand Down

0 comments on commit bb82a48

Please sign in to comment.