Searched refs:centerXPercentage (Results 1 – 3 of 3) sorted by relevance
117 centerXPercentage: number = 0; property in RangeRuler329 this.centerXPercentage = move_x / (this.canvas?.clientWidth || 0);330 if (this.centerXPercentage <= 0) {331 this.centerXPercentage = 0;332 } else if (this.centerXPercentage >= 1) {333 this.centerXPercentage = 1;575 this.range.startNS += this.centerXPercentage * bb * this.scale;576 this.range.endNS -= (1 - this.centerXPercentage) * bb * this.scale;599 this.range.startNS -= this.centerXPercentage * bb * this.scale;600 this.range.endNS += (1 - this.centerXPercentage) * bb * this.scale;[all …]
396 centerXPercentage: number = 0;616 this.centerXPercentage = x / (this.frame.width || 0);617 if (this.centerXPercentage <= 0) {618 this.centerXPercentage = 0;619 } else if (this.centerXPercentage >= 1) {620 this.centerXPercentage = 1;670 … this.range.startNS += (this.centerXPercentage * this.currentDuration * 2 * this.scale) / this.p;671 …this.range.endNS -= ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale) / this.…681 … this.range.startNS -= (this.centerXPercentage * this.currentDuration * 2 * this.scale) / this.p;682 …this.range.endNS += ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale) / this.…[all …]
239 rangeRuler.centerXPercentage = jest.fn(() => -1);