Searched refs:centerXPercentage (Results 1 – 2 of 2) sorted by relevance
243 centerXPercentage: number = 0; property in RangeRuler248 this.centerXPercentage = x / (this.canvas?.clientWidth || 0)249 if (this.centerXPercentage <= 0) {250 this.centerXPercentage = 0251 } else if (this.centerXPercentage >= 1) {252 this.centerXPercentage = 1350 … this.range.startNS += (this.centerXPercentage * this.currentDuration * 2 * this.scale / this.p);351 …this.range.endNS -= ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale / this.p…361 … this.range.startNS -= (this.centerXPercentage * this.currentDuration * 2 * this.scale / this.p);362 …this.range.endNS += ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale / this.p…[all …]
334 centerXPercentage: number = 0;491 this.centerXPercentage = x / (this.frame.width || 0)492 if (this.centerXPercentage <= 0) {493 this.centerXPercentage = 0494 } else if (this.centerXPercentage >= 1) {495 this.centerXPercentage = 1588 … this.range.startNS += (this.centerXPercentage * this.currentDuration * 2 * this.scale / this.p);589 …this.range.endNS -= ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale / this.p…599 … this.range.startNS -= (this.centerXPercentage * this.currentDuration * 2 * this.scale / this.p);600 …this.range.endNS += ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale / this.p…[all …]