Home
last modified time | relevance | path

Searched refs:move_x (Results 1 – 1 of 1) sorted by relevance

/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRangeRuler.ts327 let move_x = ev.offsetX - (this.canvas?.offsetLeft || 0); variable
329 this.centerXPercentage = move_x / (this.canvas?.clientWidth || 0);
336 if (this.markAObj.inspectionFrame.contains(move_x, move_y)) {
338 } else if (this.markBObj.inspectionFrame.contains(move_x, move_y)) {
344 this.handleMovingMark(move_x, move_y, maxX, trace);
345 this.handleMovingFresh(move_x, maxX);
348 private handleMovingFresh(move_x: number, maxX: number): void {
350 let result = move_x - this.mouseDownOffsetX;
378 if (move_x >= 0 && move_x <= maxX) {
379 this.markBObj.frame.x = move_x;
[all …]