etro-js / etro

Typescript video-editing framework for the browser
https://etrojs.dev
GNU General Public License v3.0
898 stars 86 forks source link

Deprecate and rename `Layer.render` #255

Open clabe45 opened 8 months ago

clabe45 commented 8 months ago

Layer#render is called to refresh a layer's internal canvas. The term "render" could imply the rendering of a visual frame or an audio sample. Renaming it to something like draw would remove this ambiguity. We will later add a similar method that will be used to render an audio sample. The task here is to deprecate Layer.render() and add an identical method with a different name.