(totalTime, suppressEvents)
| 1760 | } |
| 1761 | |
| 1762 | totalTime(totalTime, suppressEvents) { |
| 1763 | if (!arguments.length) { |
| 1764 | return this._tTime; |
| 1765 | } |
| 1766 | this._forcing = 1; |
| 1767 | if (!this._dp && this._ts) { //special case for the global timeline (or any other that has no parent or detached parent). |
| 1768 | this._start = _roundPrecise(_ticker.time - (this._ts > 0 ? totalTime / this._ts : (this.totalDuration() - totalTime) / -this._ts)); |
| 1769 | } |
| 1770 | super.totalTime(totalTime, suppressEvents); |
| 1771 | this._forcing = 0; |
| 1772 | return this; |
| 1773 | } |
| 1774 | |
| 1775 | addLabel(label, position) { |
| 1776 | this.labels[label] = _parsePosition(this, position); |
no test coverage detected