mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 22:38:37 +08:00
Remove logical adjustments from FlatViewGroup.
Summary: These were needed until recent changes in DrawView. Reviewed By: ahmedre Differential Revision: D3646707
This commit is contained in:
committed by
Ahmed El-Helw
parent
dfc815cb19
commit
28654aef65
@@ -69,11 +69,10 @@ import com.facebook.react.uimanager.ViewManagerRegistry;
|
||||
int reactTag,
|
||||
@Nullable DrawCommand[] drawCommands,
|
||||
@Nullable AttachDetachListener[] listeners,
|
||||
@Nullable NodeRegion[] nodeRegions,
|
||||
Rect logicalAdjustment) {
|
||||
@Nullable NodeRegion[] nodeRegions) {
|
||||
FlatViewGroup view = (FlatViewGroup) resolveView(reactTag);
|
||||
if (drawCommands != null) {
|
||||
view.mountDrawCommands(drawCommands, logicalAdjustment);
|
||||
view.mountDrawCommands(drawCommands);
|
||||
}
|
||||
if (listeners != null) {
|
||||
view.mountAttachDetachListeners(listeners);
|
||||
|
||||
Reference in New Issue
Block a user