mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 22:56:32 +08:00
Support vertical and horizontal clipping with draw command managers.
Summary: Adds support for horizontal clipping, though the FlatViewGroup needs to be made aware still of which it is. Reviewed By: ahmedre Differential Revision: D3673501
This commit is contained in:
committed by
Ahmed El-Helw
parent
192c99a4f6
commit
a4c4a88e27
@@ -136,9 +136,9 @@ import android.view.ViewParent;
|
||||
}
|
||||
}
|
||||
|
||||
static DrawCommandManager getClippingInstance(
|
||||
static DrawCommandManager getVerticalClippingInstance(
|
||||
FlatViewGroup flatViewGroup,
|
||||
DrawCommand[] drawCommands) {
|
||||
return new ClippingDrawCommandManager(flatViewGroup, drawCommands);
|
||||
return new VerticalDrawCommandManager(flatViewGroup, drawCommands);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user