File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export class Alert extends ViewController {
115
115
* In the array of `buttons`, each button includes properties for its `text`,
116
116
* and optionally a `handler`. If a handler returns `false` then the alert
117
117
* will not automatically be dismissed when the button is clicked. All
118
- * buttons will show up in the order they have been added to the `buttons`
118
+ * buttons will show up in the order they have been added to the `buttons`
119
119
* array, from left to right. Note: The right most button (the last one in
120
120
* the array) is the main button.
121
121
*
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class TapClick {
46
46
} ) ;
47
47
48
48
this . pointerMove = ( ev : UIEvent ) => {
49
- if ( hasPointerMoved ( POINTER_MOVE_UNTIL_CANCEL , this . startCoord , pointerCoord ( ev ) ) ) {
49
+ if ( ! this . startCoord || hasPointerMoved ( POINTER_MOVE_UNTIL_CANCEL , this . startCoord , pointerCoord ( ev ) ) ) {
50
50
this . pointerCancel ( ev ) ;
51
51
}
52
52
} ;
You can’t perform that action at this time.
0 commit comments