Skip to content

Commit

Permalink
fix: updated dotlottie for web
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelOsborne committed Nov 6, 2024
1 parent b64f475 commit 0a535a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dotlottie-js/src/dotlottie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export class DotLottie extends DotLottieCommon {
if (animationAssets) {
for (const asset of animationAssets) {
if ('w' in asset && 'h' in asset) {
if (asset.p.includes(image.id)) {
if (asset.p === image.fileName) {
image.parentAnimations.push(parentAnimation);
parentAnimation.imageAssets.push(image);
}
Expand Down

0 comments on commit 0a535a0

Please sign in to comment.