mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 22:54:50 -04:00
!2269 修正SingleChildScroll的裁剪尺寸
Merge pull request !2269 from lastking/master
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