[Webkit-unassigned] [Bug 177690] Web Inspector: Layers tab sidebar's DOM highlight should be by row hover, not row selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 29 17:03:39 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=177690

Devin Rousso <webkit at devinrousso.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |webkit at devinrousso.com

--- Comment #2 from Devin Rousso <webkit at devinrousso.com> ---
Comment on attachment 322252
  --> https://bugs.webkit.org/attachment.cgi?id=322252
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=322252&action=review

> Source/WebInspectorUI/UserInterface/Views/LayerDetailsSidebarPanel.js:134
> +        if (!node || node === this._hoveredDataGridNode)

As a precaution against having a highlight that stays visible even after the user has moved their mouse, I would recommend you also have a call to `WI.domTreeManager.hideDOMNodeHighlight();` inside an early-return for `if (!node)`.

> Source/WebInspectorUI/UserInterface/Views/LayerDetailsSidebarPanel.js:148
> +        if (!this._hoveredDataGridNode)

Ditto (134).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170930/52d55ad2/attachment.html>


More information about the webkit-unassigned mailing list