mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-27 17:21:11 +00:00
fix enbaleArrow always true
Signed-off-by: 18168667290 <huangpeng107@huawei.com>
This commit is contained in:
parent
e41825fe34
commit
76237230c8
@ -1084,7 +1084,7 @@ RefPtr<FrameNode> MenuView::Create(const RefPtr<UINode>& customNode, int32_t tar
|
|||||||
CHECK_NULL_RETURN(scroll, nullptr);
|
CHECK_NULL_RETURN(scroll, nullptr);
|
||||||
MountScrollToMenu(customNode, scroll, type, menuNode);
|
MountScrollToMenu(customNode, scroll, type, menuNode);
|
||||||
|
|
||||||
if (Container::GreatOrEqualAPIVersion(PlatformVersion::VERSION_ELEVEN) && !menuParam.enableArrow) {
|
if (Container::GreatOrEqualAPIVersion(PlatformVersion::VERSION_ELEVEN) && !menuParam.enableArrow.value_or(false)) {
|
||||||
UpdateMenuBorderEffect(menuNode);
|
UpdateMenuBorderEffect(menuNode);
|
||||||
}
|
}
|
||||||
menuNode->MarkModifyDone();
|
menuNode->MarkModifyDone();
|
||||||
|
Loading…
Reference in New Issue
Block a user