Skip to content

Commit f968bbd

Browse files
Mihai Budiuryzhyk
authored andcommitted
Highlight target row
Signed-off-by: Mihai Budiu <[email protected]>
1 parent 0f8f47b commit f968bbd

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

rust/template/ddlog_profiler/profiler_ui/ui.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ td.invocations {
7676
background: lightyellow;
7777
}
7878

79+
tr.show {
80+
background: pink;
81+
}
82+
7983
/* close, minimize, help page elements */
8084
.close {
8185
font-weight: bold;

rust/template/ddlog_profiler/profiler_ui/ui.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/template/ddlog_profiler/profiler_ui/ui.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,7 @@ class ProfileTable implements IHtmlElement {
688688
elem.parentElement!.classList.add("highlight");
689689
}
690690
let last = document.getElementById(path[path.length - 1]);
691+
last!.parentElement!.classList.add("show");
691692
last!.scrollIntoView();
692693
}
693694

0 commit comments

Comments
 (0)