mirror of
https://gitee.com/openharmony/applications_launcher
synced 2024-11-23 06:50:02 +00:00
修复导航栏异常显示
Signed-off-by: yongxinggong <gongyongxing@huawei.com>
This commit is contained in:
parent
cd0c13e004
commit
3d27298ff3
@ -197,15 +197,6 @@ struct EntryView {
|
||||
.alignItems(HorizontalAlign.Center)
|
||||
.justifyContent(FlexAlign.Center)
|
||||
.height(this.workSpaceHeight)
|
||||
|
||||
Column() {
|
||||
SmartDock({
|
||||
showAppCenter: () => {
|
||||
Trace.start(Trace.CORE_METHOD_START_APP_CENTER);
|
||||
globalThis.createWindowWithName(windowManager.APP_CENTER_WINDOW_NAME, windowManager.DESKTOP_RANK);
|
||||
}
|
||||
});
|
||||
}
|
||||
.onAreaChange((oldValue: Area, newValue: Area) => {
|
||||
Log.showDebug(TAG, `onAreaChange navigationBarStatus: ${this.navigationBarStatus}`);
|
||||
if (JSON.stringify(oldValue) == JSON.stringify(newValue)) return;
|
||||
@ -215,6 +206,15 @@ struct EntryView {
|
||||
}, 30);
|
||||
}
|
||||
})
|
||||
|
||||
Column() {
|
||||
SmartDock({
|
||||
showAppCenter: () => {
|
||||
Trace.start(Trace.CORE_METHOD_START_APP_CENTER);
|
||||
globalThis.createWindowWithName(windowManager.APP_CENTER_WINDOW_NAME, windowManager.DESKTOP_RANK);
|
||||
}
|
||||
});
|
||||
}
|
||||
.height(this.dockHeight)
|
||||
}
|
||||
.width('100%')
|
||||
|
@ -132,10 +132,6 @@ struct EntryView {
|
||||
PageDesktopLayout();
|
||||
}
|
||||
.height(this.workSpaceHeight)
|
||||
|
||||
Column() {
|
||||
SmartDock();
|
||||
}
|
||||
.onAreaChange((oldValue: Area, newValue: Area): void => {
|
||||
Log.showDebug(TAG, `onAreaChange navigationBarStatus: ${this.navigationBarStatus}`);
|
||||
if (JSON.stringify(oldValue) == JSON.stringify(newValue)) return;
|
||||
@ -145,6 +141,10 @@ struct EntryView {
|
||||
}, 50)
|
||||
}
|
||||
})
|
||||
|
||||
Column() {
|
||||
SmartDock();
|
||||
}
|
||||
.height(this.dockHeight)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user