mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-30 10:43:03 +00:00
Solve the problem of rtl settings not taking effect.
Signed-off-by: sunfei <sunfei.sun@huawei.com> Change-Id: I00bdd9ceab406b5aae810f1533bf6b2eba14c58a
This commit is contained in:
parent
a5a86c5771
commit
d193e08e18
@ -601,7 +601,7 @@ RefPtr<Component> ViewStackProcessor::WrapComponents()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
auto iter = wrappingComponentsMap.find("box");
|
auto iter = wrappingComponentsMap.find("box");
|
||||||
if (iter != wrappingComponentsMap.end()) {
|
if (iter != wrappingComponentsMap.end() && (iter->second->GetTextDirection() != component->GetTextDirection())) {
|
||||||
component->SetTextDirection(iter->second->GetTextDirection());
|
component->SetTextDirection(iter->second->GetTextDirection());
|
||||||
}
|
}
|
||||||
return component;
|
return component;
|
||||||
|
Loading…
Reference in New Issue
Block a user