diff --git a/README.md b/README.md index 714af2f..8740947 100644 --- a/README.md +++ b/README.md @@ -325,9 +325,6 @@ See [position.json5](https://github.com/mifi/editly/blob/master/examples/positio - https://github.com/sjfricke/awesome-webgl - https://www.mltframework.org/docs/melt/ -## TODO - -- Keep source audio (See [#1](https://github.com/mifi/editly/issues/1)) --- diff --git a/examples/customFabric.js b/examples/customFabric.js index b92046f..07a53b6 100644 --- a/examples/customFabric.js +++ b/examples/customFabric.js @@ -2,8 +2,8 @@ const editly = require('..'); /* eslint-disable spaced-comment,no-param-reassign */ -async function func({ width, height, fabric, canvas }) { - async function onRender(progress) { +async function func({ width, height, fabric }) { + async function onRender(progress, canvas) { canvas.backgroundColor = 'hsl(33, 100%, 50%)'; const text = new fabric.Text(`PROGRESS\n${Math.floor(progress * 100)}%`, { diff --git a/package.json b/package.json index 21df70c..ba8da0e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "editly", "description": "Simple, sexy, declarative video editing", - "version": "0.4.0", + "version": "0.5.0", "main": "index.js", "author": "Mikael Finstad ", "license": "MIT",