From e515b00a70d501a248b7987f468ecc8369a4128b Mon Sep 17 00:00:00 2001 From: Patrick Pircher Date: Tue, 29 Aug 2023 19:18:09 +0200 Subject: [PATCH 1/3] remove title Forgot to revert this... --- ember_debug/libs/view-inspection.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ember_debug/libs/view-inspection.js b/ember_debug/libs/view-inspection.js index a8efe32e49..79848a572a 100644 --- a/ember_debug/libs/view-inspection.js +++ b/ember_debug/libs/view-inspection.js @@ -522,7 +522,6 @@ export default class ViewInspection { this._renderTokens(td, value); } else { td.innerText = value; - td.title = value; } tr.appendChild(th); From 1b19f8e9589b2422caa28fd5d99d3fcd90011244 Mon Sep 17 00:00:00 2001 From: Patrick Pircher Date: Thu, 31 Aug 2023 13:20:10 +0200 Subject: [PATCH 2/3] allow-wrap --- ember_debug/libs/view-inspection.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ember_debug/libs/view-inspection.js b/ember_debug/libs/view-inspection.js index 79848a572a..71facbc187 100644 --- a/ember_debug/libs/view-inspection.js +++ b/ember_debug/libs/view-inspection.js @@ -154,7 +154,6 @@ function makeStylesheet(id) { border: none; border-spacing: 0px; border-collapse: collapse; - white-space: nowrap; font-family: sans-serif; font-size: 12px; font-weight: normal; From 32951f83aba7480ba6ca602e89337d9699ebddbb Mon Sep 17 00:00:00 2001 From: patrick Date: Thu, 31 Aug 2023 14:56:24 +0200 Subject: [PATCH 3/3] fix show highlight --- ember_debug/libs/view-inspection.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ember_debug/libs/view-inspection.js b/ember_debug/libs/view-inspection.js index 71facbc187..ae065e429b 100644 --- a/ember_debug/libs/view-inspection.js +++ b/ember_debug/libs/view-inspection.js @@ -372,8 +372,9 @@ export default class ViewInspection { let rect = this.renderTree.getBoundingClientRect(id); if (node && rect) { - this._showHighlight(node, rect); this._showTooltip(node, rect); + rect = this.renderTree.getBoundingClientRect(id); + this._showHighlight(node, rect); this.isShowing = true; this.isPinned = pin;