Show diff summary in timeline marker tooltip
This commit is contained in:
1 parent
c11de7f7c3
commit
e30d6a1540
1 file changed
+2
@@ -3771,6 +3771,8 @@ function buildTimeline() {
|
||||
if (isLatest) marker.classList.add("snap-timeline-marker-latest");
|
||||
|
||||
let tip = `${rec.label} — ${formatTime(rec.timestamp)}\n${iconInfo.label}`;
|
||||
const diffLines = formatCaptureDiffLines(rec.captureDiff);
|
||||
if (diffLines.length > 0) tip += `\n${diffLines.join("\n")}`;
|
||||
if (rec.notes) tip += `\n${rec.notes}`;
|
||||
marker.title = tip;
|
||||
|
||||
|
||||
Reference in new issue
Block a user