Web Inspector: REGRESSION (r244157): Timelines: ruler size appears wrong on first...
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Views / ConsoleDrawer.js
index 3e0f663..16929cd 100644 (file)
@@ -93,16 +93,13 @@ WI.ConsoleDrawer = class ConsoleDrawer extends WI.ContentBrowser
 
     // Protected
 
-    layout()
+    sizeDidChange()
     {
-        if (this._collapsed)
-            return;
+        super.sizeDidChange();
 
-        if (this.layoutReason !== WI.View.LayoutReason.Resize)
+        if (this._collapsed)
             return;
 
-        super.layout();
-
         let height = this.height;
         this._restoreDrawerHeight();