Skip to content

Commit

Permalink
Added doc comment that calling WebRenderer.resize is necessary for ne…
Browse files Browse the repository at this point in the history
…w renderers.
  • Loading branch information
Arnavion committed Jan 23, 2016
1 parent 9b0e15c commit ff9fa39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderers/web/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ const fontSrcUrlRegex = /^(url|local)\(["']?(.+?)["']?\)$/;
/**
* A renderer implementation that draws subtitles to the given <div>
*
* After the renderer fires its ready event, {@link libjass.renderers.WebRenderer.resize} must be called to initialize its size before starting the clock.
*
* @param {!libjass.ASS} ass
* @param {!libjass.renderers.Clock} clock
* @param {!HTMLDivElement} libjassSubsWrapper Subtitles will be rendered to this <div>
Expand Down

0 comments on commit ff9fa39

Please sign in to comment.