mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-10-07 08:24:11 +00:00
!44315 [新需求][5.0挑单]: frame_node.cpp自定义节点获取,代码同步 5.0
Merge pull request !44315 from Jim Zhang/cherry-pick-1727098058
This commit is contained in:
commit
1e0dfc0dc3
@ -1936,6 +1936,9 @@ RefPtr<PaintWrapper> FrameNode::CreatePaintWrapper()
|
||||
// It is necessary to copy the layoutProperty property to prevent the paintProperty_ property from being
|
||||
// modified during the paint process, resulting in the problem of judging whether the front-end setting value
|
||||
// changes the next time js is executed.
|
||||
if (!paintMethod) {
|
||||
paintMethod = pattern_->CreateDefaultNodePaintMethod();
|
||||
}
|
||||
|
||||
auto paintWrapper = MakeRefPtr<PaintWrapper>(
|
||||
renderContext_, geometryNode_->Clone(), paintProperty_->Clone(), extensionHandler_);
|
||||
|
Loading…
Reference in New Issue
Block a user