@override
()
| 327 | |
| 328 | /** @override */ |
| 329 | acceptStart() { |
| 330 | this.eventing_ = true; |
| 331 | // Reset start coordinates to where the gesture began to avoid visible |
| 332 | // jump, but preserve them as "prev" coordinates to calculate the right |
| 333 | // velocity. |
| 334 | this.prevX_ = this.startX_; |
| 335 | this.prevY_ = this.startY_; |
| 336 | this.prevTime_ = this.startTime_; |
| 337 | this.startX_ = this.lastX_; |
| 338 | this.startY_ = this.lastY_; |
| 339 | this.emit_(true, false, null); |
| 340 | } |
| 341 | |
| 342 | /** @override */ |
| 343 | acceptCancel() { |