Title: [121905] trunk/Source/WebCore
Revision
121905
Author
ca...@chromium.org
Date
2012-07-05 08:17:43 -0700 (Thu, 05 Jul 2012)

Log Message

Web Inspector: incorrect height of main timeline pane after switching to memory mode
https://bugs.webkit.org/show_bug.cgi?id=90387

Reviewed by Pavel Feldman.

* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._splitterDragging):
(WebInspector.TimelinePanel.prototype.set _setSplitterPosition):
(WebInspector.TimelinePanel.prototype._overviewModeChanged):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (121904 => 121905)


--- trunk/Source/WebCore/ChangeLog	2012-07-05 14:23:45 UTC (rev 121904)
+++ trunk/Source/WebCore/ChangeLog	2012-07-05 15:17:43 UTC (rev 121905)
@@ -1,3 +1,15 @@
+2012-07-04  Andrey Kosyakov  <ca...@chromium.org>
+
+        Web Inspector: incorrect height of main timeline pane after switching to memory mode
+        https://bugs.webkit.org/show_bug.cgi?id=90387
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/TimelinePanel.js:
+        (WebInspector.TimelinePanel.prototype._splitterDragging):
+        (WebInspector.TimelinePanel.prototype.set _setSplitterPosition):
+        (WebInspector.TimelinePanel.prototype._overviewModeChanged):
+
 2012-07-05  Vivek Galatage  <vivekgalat...@gmail.com>
 
         Web Inspector: Add support for keyboard increment / decrement on numbers in attributes in Elements Panel

Modified: trunk/Source/WebCore/inspector/front-end/TimelinePanel.js (121904 => 121905)


--- trunk/Source/WebCore/inspector/front-end/TimelinePanel.js	2012-07-05 14:23:45 UTC (rev 121904)
+++ trunk/Source/WebCore/inspector/front-end/TimelinePanel.js	2012-07-05 15:17:43 UTC (rev 121905)
@@ -157,7 +157,6 @@
         var top = event.pageY + this._dragOffset
         this._setSplitterPosition(top);
         event.preventDefault();
-        this._refresh();
     },
 
     /**
@@ -181,6 +180,7 @@
         this._timelineMemorySplitter.style.top = (top - 2) + "px";
         this._memoryStatistics.setTopPosition(top);
         this._containerElementHeight = this._containerElement.clientHeight;
+        this.onResize();
     },
 
     get calculator()
@@ -437,13 +437,13 @@
             this._memoryStatistics.hide();
             this.splitView.element.style.height = "auto";
             this.splitView.element.style.bottom = "0";
+            this.onResize();
         } else {
             this._timelineMemorySplitter.removeStyleClass("hidden");
             this._memoryStatistics.show();
             this.splitView.element.style.bottom = "auto";
             this._setSplitterPosition(WebInspector.settings.memoryCounterGraphsHeight.get());
         }
-        this._refresh();
     },
 
     _toggleTimelineButtonClicked: function()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to