Skip to content

Commit 395be2b

Browse files
fixup! Hook up the ops bbox logic to the pdf debugger
1 parent b689701 commit 395be2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/debugger.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,8 +522,8 @@ class Stepper {
522522

523523
this.hoverStyle.innerText = `#${this.panel.id} ${cssSelector} { background-color: rgba(0, 0, 0, 0.1); }`;
524524

525-
if (group.data.dependencies) {
526-
const selector = group.data.dependencies
525+
if (group.dependencies.length > 0) {
526+
const selector = group.dependencies
527527
.map(idx => `#${this.panel.id} tr[data-idx="${idx}"]`)
528528
.join(", ");
529529
this.hoverStyle.innerText += `${selector} { background-color: rgba(0, 255, 255, 0.1); }`;

0 commit comments

Comments
 (0)