fix: matchLayerProperties was needed there

This commit is contained in:
Igor Randjelovic
2023-03-06 22:22:09 +01:00
committed by Nathan Walker
parent 9080c2f868
commit 224331b1ed

View File

@@ -133,8 +133,7 @@ class ModalTransitionController extends NSObject implements UIViewControllerAnim
sharedElementSnapshot.contentMode = presentedSharedElement.contentMode;
}
// todo: check if this is needed - seems like it's not after refactoring the updateFramePresent to do the snapshotting
// matchLayerProperties(sharedElementSnapshot, presentingSharedElement);
matchLayerProperties(sharedElementSnapshot, presentingSharedElement);
sharedElementSnapshot.clipsToBounds = true;
// console.log('---> snapshot: ', sharedElementSnapshot);