mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix order of arguments in Fabric measure
Summary: These arguments were in the wrong order. It should be x,y,width,height,pageX,pageY. It was x,y,pageX,pageY,width,height. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D18940318 fbshipit-source-id: ebd757648169b1ffbf33b35dded1d505a1c80974
This commit is contained in:
committed by
Facebook Github Bot
parent
f8d5c5bfd7
commit
39234e862e
@@ -509,10 +509,10 @@ jsi::Value UIManagerBinding::get(
|
||||
runtime,
|
||||
{0,
|
||||
0,
|
||||
jsi::Value{runtime, (double)frame.origin.x},
|
||||
jsi::Value{runtime, (double)frame.origin.y},
|
||||
jsi::Value{runtime, (double)frame.size.width},
|
||||
jsi::Value{runtime, (double)frame.size.height}});
|
||||
jsi::Value{runtime, (double)frame.size.height},
|
||||
jsi::Value{runtime, (double)frame.origin.x},
|
||||
jsi::Value{runtime, (double)frame.origin.y}});
|
||||
return jsi::Value::undefined();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user