Lines Matching refs:timeScale
54 const timescale = globals.frontendLocalState.timeScale;
82 const timeScale = globals.frontendLocalState.timeScale; constant
88 for (const xAndTime of gridlines(size.width, range, timeScale)) {
99 if ((note.noteType !== 'AREA' && !timeScale.timeInBounds(timestamp)) ||
101 !timeScale.timeInBounds(globals.state.areas[note.areaId].endSec) &&
102 !timeScale.timeInBounds(
114 const x = timeScale.timeToPx(timestamp);
123 Math.floor(timeScale.timeToPx(area.endSec) + TRACK_SHELL_WIDTH),
149 const timestamp = timeScale.pxToTime(this.hoveredX);
150 if (timeScale.timeInBounds(timestamp)) {
152 const x = timeScale.timeToPx(timestamp);
167 if (x >= globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH) {
188 x, globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH);
222 const timeScale = globals.frontendLocalState.timeScale; constant
223 const timestamp = timeScale.pxToTime(x);
246 const timeScale = globals.frontendLocalState.timeScale; constant
247 const noteX = timeScale.timeToPx(getStartTimestamp(note));
251 (timeScale.timeToPx(noteArea.endSec) > x &&
252 x > timeScale.timeToPx(noteArea.endSec) - AREA_TRIANGLE_WIDTH);