Commit 9558dd7
committed
Fixed bug of multiple cells on rapid tapping.
Setting the longPressGestureRecognizer’s minimumPressDuration property to 0, and then rapidly tapping on cells can cause extra cells to show up that are not able to be moved in any way. This fixes that issue by disabling the longPressGestureRecognizer until the animation that happens when the long press ends.1 parent 547ea3f commit 9558dd7
File tree
1 file changed
+5
-0
lines changed- LXReorderableCollectionViewFlowLayout
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| 348 | + | |
| 349 | + | |
348 | 350 | | |
349 | 351 | | |
350 | 352 | | |
| |||
358 | 360 | | |
359 | 361 | | |
360 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
361 | 366 | | |
362 | 367 | | |
363 | 368 | | |
| |||
0 commit comments