mirror of
https://gitee.com/openharmony/applications_systemui
synced 2025-02-16 05:58:30 +00:00
!469 全局动画切换至5X或10X,下载状态栏,状态栏会自动退出
Merge pull request !469 from zhangxCode/cherry-pick-1712805167
This commit is contained in:
commit
dd0ccfe7dd
@ -272,6 +272,7 @@ struct Index {
|
||||
Log.showDebug(TAG, `hideSelf`)
|
||||
this._animateTo({...SHOW_ANIM_CONFIG, onFinish: () => {
|
||||
Log.showInfo(TAG, `hideSelf, hide anim finish.`);
|
||||
}, finishCallback:()=>{
|
||||
WindowManager.hideWindow(WindowType.DROPDOWN_PANEL)
|
||||
}}, () => {
|
||||
this.componentOptAreaTranslateY = (-this.componentOptAreaHeightPX * 0.1) + 'px'
|
||||
@ -283,7 +284,7 @@ struct Index {
|
||||
_animateTo(config, callback) {
|
||||
Log.showDebug(TAG, `_animateTo, config: ${JSON.stringify(config)}`)
|
||||
animateTo(config, callback)
|
||||
setTimeout(config.onFinish, config.duration + config.delay)
|
||||
setTimeout(config.finishCallback, config.duration + config.delay)
|
||||
}
|
||||
|
||||
build() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user