(code)
| 314 | }; |
| 315 | } |
| 316 | onTimeChanged(code) { |
| 317 | var scroller = code.container; |
| 318 | var t = Date.now(); |
| 319 | scroller.scrollBy(this.dx * this.acceleration * (t - this.tx), this.dy * this.acceleration * (t - this.ty)); |
| 320 | if (this.captured == code) |
| 321 | this.onTouchSelect(code, this.x, this.y); |
| 322 | } |
| 323 | onTouchBegan(code, id, x, y, ticks) { |
| 324 | code.captureTouch(id, x, y, ticks); |
| 325 | this.captured = code; |
nothing calls this directly
no test coverage detected