mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
unbreak ViewTransition fantom tests
Summary: ## Changelog: [Internal] [Fixed] - unbreak ViewTransition fantom tests this gets broken after my recent changes to viewtransition runtime Reviewed By: NickGerleman Differential Revision: D101224031 fbshipit-source-id: ecef6d4ea73635a6416a1febf9c44b9ecfef0f22
This commit is contained in:
1 parent
58fec1fa8d
commit
a8d44bcac2
1 file changed
+1
-1
+1
-1
@@ -455,7 +455,7 @@ ViewTransitionModule::getViewTransitionInstance(
|
||||
auto pseudoElementIt = oldPseudoElementNodes_.find(name);
|
||||
auto nativeTag = pseudoElementIt != oldPseudoElementNodes_.end()
|
||||
? pseudoElementIt->second->getTag()
|
||||
: view.tag;
|
||||
: -1;
|
||||
return ViewTransitionInstance{
|
||||
.x = view.layoutMetrics.originFromRoot.x,
|
||||
.y = view.layoutMetrics.originFromRoot.y,
|
||||
|
||||
Reference in new issue
Block a user