mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: matchLayerProperties was needed there
This commit is contained in:
committed by
Nathan Walker
parent
9080c2f868
commit
224331b1ed
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user