mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2025-02-02 00:04:36 +00:00
commit
de57b74cdc
@ -492,7 +492,7 @@ RefPtr<Component> ViewStackProcessor::WrapComponents()
|
|||||||
|
|
||||||
/* orders should not change */
|
/* orders should not change */
|
||||||
std::string componentNames[] = { "flexItem", "display", "transform", "touch", "pan_guesture", "click_guesture",
|
std::string componentNames[] = { "flexItem", "display", "transform", "touch", "pan_guesture", "click_guesture",
|
||||||
"focusable", "box", "shared_transition", "coverage", "mouse" };
|
"focusable", "coverage", "box", "shared_transition", "mouse" };
|
||||||
for (auto& name : componentNames) {
|
for (auto& name : componentNames) {
|
||||||
auto iter = wrappingComponentsMap.find(name);
|
auto iter = wrappingComponentsMap.find(name);
|
||||||
if (iter != wrappingComponentsMap.end()) {
|
if (iter != wrappingComponentsMap.end()) {
|
||||||
|
@ -76,6 +76,9 @@ bool PopupElementV2::IsDeclarative()
|
|||||||
|
|
||||||
void PopupElementV2::OnStateChange(bool isVisible)
|
void PopupElementV2::OnStateChange(bool isVisible)
|
||||||
{
|
{
|
||||||
|
if (hasShown_ == isVisible) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
hasShown_ = isVisible;
|
hasShown_ = isVisible;
|
||||||
if (!onStateChange_) {
|
if (!onStateChange_) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user