mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Pass FlatViewGroup to DrawCommand.draw()
Summary: @public To render `View`s inside `FlatViewGroup`, we need to pass the parent to `DrawCommand.draw()` method. Used in a followup diff. Reviewed By: sriramramani Differential Revision: D2564478
This commit is contained in:
committed by
Ahmed El-Helw
parent
f19acaed4b
commit
7db444c9ae
@@ -31,7 +31,7 @@ import android.text.Layout;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void draw(Canvas canvas) {
|
||||
public void draw(FlatViewGroup parent, Canvas canvas) {
|
||||
float left = getLeft();
|
||||
float top = getTop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user