(row)
| 420 | model.DEVICE.first.delegate(data.event, data); |
| 421 | } |
| 422 | onTimeChanged(row) { |
| 423 | let data = this.data; |
| 424 | let container = row.first.next; |
| 425 | let content = container.first; |
| 426 | if (this.direction > 0) { |
| 427 | content.width = Math.round(container.width * row.fraction); |
| 428 | container.next.string = this.secondsToString(Math.round((row.duration - row.time) / 1000)); |
| 429 | } |
| 430 | else { |
| 431 | content.width = Math.round(container.width * (1 - row.fraction)); |
| 432 | container.next.string = this.secondsToString(Math.round(row.time / 1000)); |
| 433 | } |
| 434 | if ("tick" in data) |
| 435 | model.DEVICE.first.delegate(data.tick, data); |
| 436 | } |
| 437 | reverse() { |
| 438 | this.direction = 0 - this.direction; |
| 439 | } |
nothing calls this directly
no test coverage detected