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
@@ -25,5 +25,5 @@ public interface DrawCommand {
|
||||
*
|
||||
* @param canvas The canvas to draw into
|
||||
*/
|
||||
public void draw(Canvas canvas);
|
||||
public void draw(FlatViewGroup parent, Canvas canvas);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user