Commit ce12fae
committed
Ensure that touch{move,end} listeners are removed.
Previously, if there were globally-active touches remaining, a given
zoom gesture was not ended even if locations0 was empty. This fixes the
problem by checking to see if locations0 is empty. If so, the gesture
is ended.1 parent 85e738e commit ce12fae
3 files changed
Lines changed: 20 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1412 | 1412 | | |
1413 | 1413 | | |
1414 | 1414 | | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
1421 | 1418 | | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1422 | 1423 | | |
1423 | 1424 | | |
1424 | 1425 | | |
| |||
0 commit comments