Skip to content

Commit 488f39a

Browse files
AlinaVarkkiDevtools-frontend LUCI CQ
authored andcommitted
[RPP] Fix Connection Annotation not following the mouse when it's being created
Bug: None Change-Id: I35fc4f79d4ae6382afc54ba011f4c17dc6815bd6 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6429730 Commit-Queue: Alina Varkki <[email protected]> Commit-Queue: Jack Franklin <[email protected]> Auto-Submit: Alina Varkki <[email protected]> Reviewed-by: Jack Franklin <[email protected]>
1 parent 02a09c2 commit 488f39a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

front_end/panels/timeline/overlays/OverlaysImpl.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,8 @@ export class Overlays extends EventTarget {
11741174
}
11751175
}
11761176

1177-
} else if (this.#lastMouseOffsetX && this.#lastMouseOffsetY) {
1177+
} else {
1178+
// If the 'to' entry does not exist, the link is being created.
11781179
// The second coordinate for in progress link gets updated on mousemove
11791180
this.#entriesLinkInProgress = overlay;
11801181
}

0 commit comments

Comments
 (0)