!312 RK修复长按菜单不消失

Merge pull request !312 from 王志港/master
This commit is contained in:
openharmony_ci 2023-01-05 03:49:35 +00:00 committed by Gitee
commit c1de2fb61b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1 additions and 3 deletions

View File

@ -496,7 +496,6 @@ export struct RemoteWindowWrapper {
duration: 300,
curve: Curve.Friction,
onFinish: () => {
callback.onAnimationFinish();
this.removeRemoteWindowFromList(remoteVo.remoteWindowKey);
}
}, () => {
@ -509,7 +508,6 @@ export struct RemoteWindowWrapper {
duration: 150,
curve: Curve.Friction,
onFinish: () => {
callback.onAnimationFinish();
this.removeRemoteWindowFromList(remoteVo.remoteWindowKey);
}
}, () => {

View File

@ -93,7 +93,7 @@ export default struct GridSwiper {
})
}
.gesture(
LongPressGesture({ repeat: true })
LongPressGesture({ repeat: false })
.onAction((event: GestureEvent) => {
this.dialogController.open()
})