Searched refs:mousePoint (Results 1 – 6 of 6) sorted by relevance
83 const mousePoint = this.getPos(e); constant85 const clickedObject = this.objectAt(mousePoint);89 const trace = await this.drawer.getTraceClicked(mousePoint);90 this.onUnhandledMouseDown(mousePoint, e.button, trace);92 this.updateCursor(mousePoint);98 const mousePoint = this.getPos(e); constant103 onDragCallback(mousePoint.x, mousePoint.y);106 this.drawer.updateHover(mousePoint);109 this.updateCursor(mousePoint);120 const mousePoint = this.getPos(e); constant[all …]
66 mousePoint: Point,73 let pointX = mousePoint.x;75 if (mousePoint.y < this.getMarkerHeight()) {78 const diff = mousePoint.x - bm;80 }) ?? mousePoint.x;207 async updateHover(mousePoint: Point | undefined) {208 this.lastMousePoint = mousePoint;212 async getTraceClicked(mousePoint: Point): Promise<Trace<object> | undefined> {220 this.pointWithinTimeline(mousePoint.y, fromTop, fromTop + lineHeight)
24 updateHover(mousePoint: Point | undefined): Promise<void>;25 getTraceClicked(mousePoint: Point): Promise<Trace<object> | undefined>;
72 override onHover(mousePoint: Point) {73 this.drawEntryHover(mousePoint);96 protected override getEntryAt(mousePoint: Point): TraceEntry<{}> | undefined {97 const timestampOfClick = this.getTimestampOf(mousePoint.x);105 if (rect.containsPoint(mousePoint)) {113 private drawEntryHover(mousePoint: Point) {114 const currentHoverEntry = this.getEntryAt(mousePoint)?.getTimestamp();
132 const mousePoint = { constant137 const transitionEntry = this.getEntryAt(mousePoint);153 const mousePoint = { constant158 this.onHover(mousePoint);188 protected abstract getEntryAt(mousePoint: Point): TraceEntry<T> | undefined;189 protected abstract onHover(mousePoint: Point): void;
77 override onHover(mousePoint: Point) {78 this.drawSegmentHover(mousePoint);113 mousePoint: Point,135 if (rect.containsPoint(mousePoint)) {144 private drawSegmentHover(mousePoint: Point) {145 const currentHoverEntry = this.getEntryAt(mousePoint);