Changeset 238871 in webkit


Ignore:
Timestamp:
Dec 4, 2018 12:07:09 PM (5 years ago)
Author:
Matt Baker
Message:

Web Inspector: REGRESSION(r238602): Elements: changing selection no longer highlights the selected node
https://bugs.webkit.org/show_bug.cgi?id=192354
<rdar://problem/46444438>

Reviewed by Joseph Pecoraro.

  • UserInterface/Views/TreeOutline.js:

(WI.TreeOutline.prototype._treeKeyDown):
(WI.TreeOutline.prototype._handleMouseDown):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r238864 r238871  
     12018-12-04  Matt Baker  <mattbaker@apple.com>
     2
     3        Web Inspector: REGRESSION(r238602): Elements: changing selection no longer highlights the selected node
     4        https://bugs.webkit.org/show_bug.cgi?id=192354
     5        <rdar://problem/46444438>
     6
     7        Reviewed by Joseph Pecoraro.
     8
     9        * UserInterface/Views/TreeOutline.js:
     10        (WI.TreeOutline.prototype._treeKeyDown):
     11        (WI.TreeOutline.prototype._handleMouseDown):
     12
    1132018-12-04  Joseph Pecoraro  <pecoraro@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Views/TreeOutline.js

    r238859 r238871  
    610610        }
    611611
    612         if (!handled)
     612        if (!handled) {
     613            this._itemWasSelectedByUser = true;
    613614            handled = this._selectionController.handleKeyDown(event);
     615            this._itemWasSelectedByUser = false;
     616        }
    614617
    615618        if (nextSelectedElement) {
     
    10011004            return;
    10021005
     1006        this._itemWasSelectedByUser = true;
    10031007        this._selectionController.handleItemMouseDown(index, event);
     1008        this._itemWasSelectedByUser = false;
    10041009    }
    10051010
Note: See TracChangeset for help on using the changeset viewer.