Skip to content

Commit

Permalink
fixup! Hook up the ops bbox logic to the pdf debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 18, 2024
1 parent b689701 commit 395be2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/debugger.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@ class Stepper {

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

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

0 comments on commit 395be2b

Please sign in to comment.