Fix SurfaceView not redrawing when it should
Summary: Like its non-Nodes counterpart, FlatARTSurfaceViewShadowNode should redraw when extra updates are collected. Reviewed By: sriramramani Differential Revision: D4355702 fbshipit-source-id: 6e7b90360958481f5bef9b806eca9fa888cb6a32
This commit is contained in:
parent
797506f09f
commit
d73746774b
|
@ -48,6 +48,7 @@ import com.facebook.react.views.art.ARTVirtualNode;
|
|||
@Override
|
||||
public void onCollectExtraUpdates(UIViewOperationQueue uiUpdater) {
|
||||
super.onCollectExtraUpdates(uiUpdater);
|
||||
drawOutput();
|
||||
uiUpdater.enqueueUpdateExtraData(getReactTag(), this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue