Title: [197529] trunk/Source/WebInspectorUI
- Revision
- 197529
- Author
- [email protected]
- Date
- 2016-03-03 16:33:15 -0800 (Thu, 03 Mar 2016)
Log Message
Web Inspector: Events and Frames mode switch does not fully switch until first zoom
https://bugs.webkit.org/show_bug.cgi?id=154971
<rdar://problem/24955871>
Reviewed by Timothy Hatcher.
Switching modes toggles the visibility of the tree outline, which changes
the width of the overview's ruler, graphs, and scroll container. When the
view mode changes, the overview needs a forced "resize" layout.
* UserInterface/Views/TimelineOverview.js:
(WebInspector.TimelineOverview.prototype._viewModeDidChange):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (197528 => 197529)
--- trunk/Source/WebInspectorUI/ChangeLog 2016-03-04 00:28:44 UTC (rev 197528)
+++ trunk/Source/WebInspectorUI/ChangeLog 2016-03-04 00:33:15 UTC (rev 197529)
@@ -1,5 +1,20 @@
2016-03-03 Matt Baker <[email protected]>
+ Web Inspector: Events and Frames mode switch does not fully switch until first zoom
+ https://bugs.webkit.org/show_bug.cgi?id=154971
+ <rdar://problem/24955871>
+
+ Reviewed by Timothy Hatcher.
+
+ Switching modes toggles the visibility of the tree outline, which changes
+ the width of the overview's ruler, graphs, and scroll container. When the
+ view mode changes, the overview needs a forced "resize" layout.
+
+ * UserInterface/Views/TimelineOverview.js:
+ (WebInspector.TimelineOverview.prototype._viewModeDidChange):
+
+2016-03-03 Matt Baker <[email protected]>
+
Web Inspector: Assertion Failed: Cannot show timeline because it does not belong to the shown recording. – "overview"
https://bugs.webkit.org/show_bug.cgi?id=154972
<rdar://problem/24956233>
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineOverview.js (197528 => 197529)
--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineOverview.js 2016-03-04 00:28:44 UTC (rev 197528)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineOverview.js 2016-03-04 00:33:15 UTC (rev 197529)
@@ -740,6 +740,8 @@
}
this.element.classList.toggle("frames", isRenderingFramesMode);
+
+ this.updateLayout(WebInspector.View.LayoutReason.Resize);
}
_createViewModeSettings(viewMode, minimumDurationPerPixel, maximumDurationPerPixel, durationPerPixel, selectionStartValue, selectionDuration)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes