Changeset 279790 in webkit
- Timestamp:
- Jul 9, 2021 10:50:31 AM (13 months ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/SingleSidebar.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r279613 r279790 1 2021-07-09 Patrick Angle <pangle@apple.com> 2 3 Web Inspector: Perform sidebar panel and navigation bar layout asynchronously during resize 4 https://bugs.webkit.org/show_bug.cgi?id=227716 5 6 Reviewed by Devin Rousso. 7 8 Perform layout updates to the navigation bar and selected panel asynchronously so that they can be batched 9 together, instead of blocking on layout for each resize (of which there will be many during a dragging resize). 10 11 * UserInterface/Views/SingleSidebar.js: 12 (WI.SingleSidebar.prototype._recalculateWidth): 13 1 14 2021-07-06 Patrick Angle <pangle@apple.com> 2 15 -
trunk/Source/WebInspectorUI/UserInterface/Views/SingleSidebar.js
r279613 r279790 184 184 185 185 if (this._navigationBar) 186 this._navigationBar. updateLayout(WI.View.LayoutReason.Resize);186 this._navigationBar.needsLayout(WI.View.LayoutReason.Resize); 187 187 188 188 if (this.selectedSidebarPanel) 189 this.selectedSidebarPanel. updateLayout(WI.View.LayoutReason.Resize);189 this.selectedSidebarPanel.needsLayout(WI.View.LayoutReason.Resize); 190 190 191 191 this.dispatchEventToListeners(WI.Sidebar.Event.WidthDidChange, {newWidth});
Note: See TracChangeset
for help on using the changeset viewer.