mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 14:43:36 -04:00
update scroll frameSize
Signed-off-by: thelastking <chenlulu16@huawei.com> Change-Id: I2de927c9f47a10f89598c1c93f861b4466ae6ac6
This commit is contained in:
@@ -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_) {
|
||||
|
||||
Reference in New Issue
Block a user