Changeset 235377 in webkit
- Timestamp:
- Aug 27, 2018 9:59:39 AM (6 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r235273 r235377 1 2018-08-27 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: REGRESSION: virtualized TreeOutline is empty when filtering 4 https://bugs.webkit.org/show_bug.cgi?id=188959 5 6 Reviewed by Brian Burg. 7 8 * UserInterface/Views/TreeElement.js: 9 (WI.TreeElement.prototype.set hidden): 10 Only set `focusedTreeElement` if the `WI.TreeElement` is selected and not hidden. There is 11 no reason to focus a hidden or unselected `WI.TreeElement`. 12 1 13 2018-08-23 Devin Rousso <drousso@apple.com> 2 14 -
trunk/Source/WebInspectorUI/UserInterface/Views/TreeElement.js
r234563 r235377 167 167 168 168 if (this.treeOutline) { 169 this.treeOutline.soon.updateVirtualizedElements(this); 169 let focusedTreeElement = null; 170 if (!this._hidden && this.selected) 171 focusedTreeElement = this; 172 this.treeOutline.soon.updateVirtualizedElements(focusedTreeElement); 170 173 171 174 this.treeOutline.dispatchEventToListeners(WI.TreeOutline.Event.ElementVisibilityDidChange, {element: this});
Note: See TracChangeset
for help on using the changeset viewer.