Skip to content

Commit

Permalink
fix(picture): call getMeta with current arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Nov 20, 2020
1 parent f3d63a0 commit d43daf2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/runtime/nuxt-picture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,11 @@ export default {
return
}
try {
const { width, height, placeholder } = await this.$img.getMeta(this.src, this.computedOperations)
const { width, height, placeholder } = await this.$img.getMeta(this.src, {
modifiers: this.computedOperations,
provider: this.provider,
preset: this.preset
})

Object.assign(this.meta, {
width,
Expand Down

0 comments on commit d43daf2

Please sign in to comment.