Changeset 244282 in webkit
- Timestamp:
- Apr 15, 2019 12:56:59 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r244279 r244282 1 2019-04-15 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: REGRESSION(r244268): Canvas: navigation sidebar no longer appears 4 https://bugs.webkit.org/show_bug.cgi?id=196920 5 <rdar://problem/49910618> 6 7 Reviewed by Timothy Hatcher. 8 9 * UserInterface/Views/ContentBrowserTabContentView.js: 10 (WI.ContentBrowserTabContentView.prototype.showNavigationSidebarPanel): 11 Now that we no longer call `addSubview` when adding a sidebar panel, we can't check to see 12 if `parentSidebar` has been set, as that is just an alias for `parentView`. 13 1 14 2019-04-15 Devin Rousso <drousso@apple.com> 2 15 -
trunk/Source/WebInspectorUI/UserInterface/Views/ContentBrowserTabContentView.js
r238859 r244282 155 155 if (!this.navigationSidebarPanel.parentSidebar) 156 156 WI.navigationSidebar.addSidebarPanel(this.navigationSidebarPanel); 157 } else if (this.navigationSidebarPanel.parentSidebar)158 WI.navigationSidebar.removeSidebarPanel(this.navigationSidebarPanel);159 160 if (this.navigationSidebarPanel.parentSidebar) {161 157 WI.navigationSidebar.selectedSidebarPanel = this.navigationSidebarPanel; 162 158 WI.navigationSidebar.collapsed = this.navigationSidebarCollapsedSetting.value; 163 } else 159 } else { 164 160 WI.navigationSidebar.collapsed = true; 161 if (this.navigationSidebarPanel.parentSidebar) 162 WI.navigationSidebar.removeSidebarPanel(this.navigationSidebarPanel); 163 } 165 164 166 165 this._ignoreNavigationSidebarPanelCollapsedEvent = false;
Note: See TracChangeset
for help on using the changeset viewer.