Web Inspector: Network Tab - waterfall graph can be mis-sized after closing detail...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Dec 2017 21:06:26 +0000 (21:06 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Dec 2017 21:06:26 +0000 (21:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=180903
<rdar://problem/36087903>

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-12-18
Reviewed by Matt Baker.

* UserInterface/Views/NetworkTableContentView.js:
(WI.NetworkTableContentView.prototype._hideResourceDetailView):
Redraw waterfall column after hiding the detail view.

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

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

index bf19222..7cbe1c0 100644 (file)
@@ -1,3 +1,15 @@
+2017-12-18  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Web Inspector: Network Tab - waterfall graph can be mis-sized after closing detail view
+        https://bugs.webkit.org/show_bug.cgi?id=180903
+        <rdar://problem/36087903>
+
+        Reviewed by Matt Baker.
+
+        * UserInterface/Views/NetworkTableContentView.js:
+        (WI.NetworkTableContentView.prototype._hideResourceDetailView):
+        Redraw waterfall column after hiding the detail view.
+
 2017-12-15  Ryan Haddad  <ryanhaddad@apple.com>
 
         Unreviewed, rolling out r225941.
index 30c3e79..78fb81c 100644 (file)
@@ -952,6 +952,7 @@ WI.NetworkTableContentView = class NetworkTableContentView extends WI.ContentVie
         this._resourceDetailView = null;
 
         this._table.resize();
+        this._table.reloadVisibleColumnCells(this._waterfallColumn);
     }
 
     _showResourceDetailView(resource)