Skip to content

Commit

Permalink
fix(preview.vue): passes Observer argument to resize function (#505)
Browse files Browse the repository at this point in the history
Passes the Resize Observer to the resize function

fixes #487
  • Loading branch information
2xAA authored Dec 15, 2020
1 parent 1cad5de commit ed4c971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default {
return;
}
this.resize();
this.resize(entries);
});
}).observe(container);
Expand Down

0 comments on commit ed4c971

Please sign in to comment.