diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /devtools/client/inspector/shared | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/inspector/shared')
-rw-r--r-- | devtools/client/inspector/shared/highlighters-overlay.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/devtools/client/inspector/shared/highlighters-overlay.js b/devtools/client/inspector/shared/highlighters-overlay.js index 6082b8b842..7f44f8b555 100644 --- a/devtools/client/inspector/shared/highlighters-overlay.js +++ b/devtools/client/inspector/shared/highlighters-overlay.js @@ -793,13 +793,8 @@ class HighlightersOverlay { /** * Called after the shapes highlighter was hidden. - * - * @param {Object} data - * Data associated with the event. - * Contains: - * - {NodeFront} node: The NodeFront of the element that was highlighted. */ - onShapesHighlighterHidden(data) { + onShapesHighlighterHidden() { this.emit( "shapes-highlighter-hidden", this.shapesHighlighterShown, @@ -1178,7 +1173,7 @@ class HighlightersOverlay { async restoreParentGridHighlighter(node) { // Find the highlighter map entry for the subgrid whose parent grid is the given node. const entry = Array.from(this.gridHighlighters.entries()).find( - ([key, value]) => { + ([, value]) => { return value?.parentGridNode === node; } ); |