update scroll frameSize

Signed-off-by: thelastking <chenlulu16@huawei.com>
Change-Id: I2de927c9f47a10f89598c1c93f861b4466ae6ac6
This commit is contained in:
thelastking
2022-04-20 15:11:31 +08:00
parent e54ce65410
commit 7990c1fa3f
@@ -36,6 +36,7 @@ void RosenRenderSingleChildScroll::Paint(RenderContext& context, const Offset& o
rsNode->SetPaintOrder(true);
// Todo: viewPort_ is not adapt for RS.
rsNode->SetClipToBounds(true);
rsNode->SetFrameSize(viewPort_.Width(), viewPort_.Height());
// paint custom effect
if (scrollEffect_) {