Web Inspector: CPU Usage Timeline - Energy impact popover flickers
authorpecoraro@apple.com <pecoraro@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Apr 2019 21:33:58 +0000 (21:33 +0000)
committerpecoraro@apple.com <pecoraro@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Apr 2019 21:33:58 +0000 (21:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196931
<rdar://problem/49569122>

Reviewed by Devin Rousso.

* UserInterface/Views/CPUTimelineView.js:
(WI.CPUTimelineView.prototype.initialLayout):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244290 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/CPUTimelineView.js

index 793476a..963c116 100644 (file)
@@ -1,3 +1,14 @@
+2019-04-15  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Web Inspector: CPU Usage Timeline - Energy impact popover flickers
+        https://bugs.webkit.org/show_bug.cgi?id=196931
+        <rdar://problem/49569122>
+
+        Reviewed by Devin Rousso.
+
+        * UserInterface/Views/CPUTimelineView.js:
+        (WI.CPUTimelineView.prototype.initialLayout):
+
 2019-04-15  Devin Rousso  <drousso@apple.com>
 
         Web Inspector: REGRESSION(r244268): Canvas: navigation sidebar no longer appears
index a0e3421..59e97a0 100644 (file)
@@ -225,7 +225,7 @@ WI.CPUTimelineView = class CPUTimelineView extends WI.TimelineView
         let energyChartElement = energyContainerElement.parentElement;
         let energySubtitleElement = energyChartElement.firstChild;
         let energyInfoElement = energySubtitleElement.appendChild(document.createElement("span"));
-        energyInfoElement.className = "info";
+        energyInfoElement.classList.add("info", WI.Popover.IgnoreAutoDismissClassName);
         energyInfoElement.textContent = "?";
 
         this._energyInfoPopover = null;