Skip to content

Commit

Permalink
Remove offset check. Fixes #107.
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Aug 25, 2019
1 parent fb1affb commit 9726efa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -58,7 +58,7 @@ export function render(

// If we have already rendered a static image, don't render
// the JS version or append a new PNG version
if (imgIndex > -1 && jsIndex > -1 && imgIndex === jsIndex + 1) {
if (imgIndex > -1 && jsIndex > -1) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion vega/static/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vega/static/index.js.map

Large diffs are not rendered by default.

0 comments on commit 9726efa

Please sign in to comment.