Showing
1 changed file
with
8 additions
and
0 deletions
| @@ -310,6 +310,14 @@ struct ChannelDialog { | @@ -310,6 +310,14 @@ struct ChannelDialog { | ||
| 310 | this.controller?.close() | 310 | this.controller?.close() |
| 311 | } | 311 | } |
| 312 | }), | 312 | }), |
| 313 | + LongPressGesture({ repeat: true }) | ||
| 314 | + .onAction((event: GestureEvent | undefined) => { | ||
| 315 | + if (event) { | ||
| 316 | + if (event.repeat && this.isEditIng === false) { | ||
| 317 | + this.isEditIng = true; | ||
| 318 | + } | ||
| 319 | + } | ||
| 320 | + }), | ||
| 313 | PanGesture({ fingers: 1, direction: null, distance: 0 }) | 321 | PanGesture({ fingers: 1, direction: null, distance: 0 }) |
| 314 | .onActionStart((event: GestureEvent) => { | 322 | .onActionStart((event: GestureEvent) => { |
| 315 | this.dragItem = item.num | 323 | this.dragItem = item.num |
-
Please register or login to post a comment