Changeset 242057 in webkit
- Timestamp:
- Feb 25, 2019 2:22:56 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r242049 r242057 1 2019-02-25 Matt Baker <mattbaker@apple.com> 2 3 Web Inspector: REGRESSION: TreeElement or Table row selected using the keyboard should always be revealed 4 https://bugs.webkit.org/show_bug.cgi?id=194918 5 <rdar://problem/48289314> 6 7 Reviewed by Devin Rousso. 8 9 * UserInterface/Views/Table.js: 10 (WI.Table.prototype.selectionControllerSelectionDidChange): 11 12 * UserInterface/Views/TreeOutline.js: 13 (WI.TreeOutline.prototype._treeKeyDown): 14 1 15 2019-02-25 Devin Rousso <drousso@apple.com> 2 16 -
trunk/Source/WebInspectorUI/UserInterface/Views/Table.js
r241652 r242057 620 620 } 621 621 622 if (selectedItems.size === 1) { 623 let rowIndex = this._indexForRepresentedObject(selectedItems.firstValue); 624 if (!this._isRowVisible(rowIndex)) 625 this.revealRow(rowIndex); 622 if (this._selectionController.lastSelectedItem) { 623 let rowIndex = this._indexForRepresentedObject(this._selectionController.lastSelectedItem); 624 this.revealRow(rowIndex); 626 625 } 627 626 -
trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js
r242017 r242057 662 662 handled = this._selectionController.handleKeyDown(event); 663 663 this._itemWasSelectedByUser = false; 664 665 if (handled) 666 nextSelectedElement = this.selectedTreeElement; 664 667 } 665 668
Note: See TracChangeset
for help on using the changeset viewer.