Skip to content

Commit

Permalink
fix(events): fire off change events after setting transform
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Jun 28, 2021
1 parent 77b47b7 commit 39524b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/panzoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ function Panzoom(
}
}
opts.setTransform(elem, value, opts)
trigger(eventName, value, opts)
trigger('panzoomchange', value, opts)
})
trigger(eventName, value, opts)
trigger('panzoomchange', value, opts)
return value
}

Expand Down

0 comments on commit 39524b1

Please sign in to comment.