mirror of
https://gitee.com/openharmony/applications_launcher
synced 2024-11-27 09:00:31 +00:00
commit
c1de2fb61b
@ -496,7 +496,6 @@ export struct RemoteWindowWrapper {
|
|||||||
duration: 300,
|
duration: 300,
|
||||||
curve: Curve.Friction,
|
curve: Curve.Friction,
|
||||||
onFinish: () => {
|
onFinish: () => {
|
||||||
callback.onAnimationFinish();
|
|
||||||
this.removeRemoteWindowFromList(remoteVo.remoteWindowKey);
|
this.removeRemoteWindowFromList(remoteVo.remoteWindowKey);
|
||||||
}
|
}
|
||||||
}, () => {
|
}, () => {
|
||||||
@ -509,7 +508,6 @@ export struct RemoteWindowWrapper {
|
|||||||
duration: 150,
|
duration: 150,
|
||||||
curve: Curve.Friction,
|
curve: Curve.Friction,
|
||||||
onFinish: () => {
|
onFinish: () => {
|
||||||
callback.onAnimationFinish();
|
|
||||||
this.removeRemoteWindowFromList(remoteVo.remoteWindowKey);
|
this.removeRemoteWindowFromList(remoteVo.remoteWindowKey);
|
||||||
}
|
}
|
||||||
}, () => {
|
}, () => {
|
||||||
|
@ -93,7 +93,7 @@ export default struct GridSwiper {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
.gesture(
|
.gesture(
|
||||||
LongPressGesture({ repeat: true })
|
LongPressGesture({ repeat: false })
|
||||||
.onAction((event: GestureEvent) => {
|
.onAction((event: GestureEvent) => {
|
||||||
this.dialogController.open()
|
this.dialogController.open()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user