mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 15:10:30 +00:00
!38234 【Refresh】Refresh组件配置align属性,刷新动效异常
Merge pull request !38234 from Zhang Jinyu/refresh_notsupport_align
This commit is contained in:
commit
864e105433
@ -117,10 +117,7 @@ void RefreshLayoutAlgorithm::PerformLayout(LayoutWrapper* layoutWrapper)
|
||||
auto left = padding.left.value_or(0);
|
||||
auto top = padding.top.value_or(0);
|
||||
auto paddingOffset = OffsetF(left, top);
|
||||
auto align = Alignment::TOP_LEFT;
|
||||
if (layoutProperty->GetPositionProperty()) {
|
||||
align = layoutProperty->GetPositionProperty()->GetAlignment().value_or(align);
|
||||
}
|
||||
auto align = Alignment::TOP_CENTER;
|
||||
auto host = layoutWrapper->GetHostNode();
|
||||
CHECK_NULL_VOID(host);
|
||||
auto pattern = host->GetPattern<RefreshPattern>();
|
||||
|
Loading…
Reference in New Issue
Block a user