Changeset 224475 in webkit


Ignore:
Timestamp:
Nov 5, 2017 7:47:05 PM (6 years ago)
Author:
webkit@devinrousso.com
Message:

Web Inspector: Canvas Tab: selecting Frame tree element should update preview/slider, does nothing
https://bugs.webkit.org/show_bug.cgi?id=179072
<rdar://problem/35278711>

Reviewed by Matt Baker.

  • UserInterface/Views/CanvasTabContentView.js:

(WI.CanvasTabContentView.prototype._navigationSidebarTreeOutlineSelectionChanged):

  • UserInterface/Views/RecordingActionTreeElement.css:

(.item.action > .titles .parameter.swizzled):
(.tree-outline:not(:focus, .force-focus) .item.action:not(.initial-state, .parent, .invalid) > .icon): Deleted.
(body:not(.window-inactive, .window-docked-inactive) .item.action > .titles .parameter.swizzled): Deleted.
Drive-by: remove extra :focus selectors to prevent icon flashing when the window is blurred.

Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r224456 r224475  
     12017-11-05  Devin Rousso  <webkit@devinrousso.com>
     2
     3        Web Inspector: Canvas Tab: selecting Frame tree element should update preview/slider, does nothing
     4        https://bugs.webkit.org/show_bug.cgi?id=179072
     5        <rdar://problem/35278711>
     6
     7        Reviewed by Matt Baker.
     8
     9        * UserInterface/Views/CanvasTabContentView.js:
     10        (WI.CanvasTabContentView.prototype._navigationSidebarTreeOutlineSelectionChanged):
     11
     12        * UserInterface/Views/RecordingActionTreeElement.css:
     13        (.item.action > .titles .parameter.swizzled):
     14        (.tree-outline:not(:focus, .force-focus) .item.action:not(.initial-state, .parent, .invalid) > .icon): Deleted.
     15        (body:not(.window-inactive, .window-docked-inactive) .item.action > .titles .parameter.swizzled): Deleted.
     16        Drive-by: remove extra :focus selectors to prevent icon flashing when the window is blurred.
     17
    1182017-11-04  Devin Rousso  <webkit@devinrousso.com>
    219
  • trunk/Source/WebInspectorUI/UserInterface/Views/CanvasTabContentView.js

    r224200 r224475  
    272272            return;
    273273
     274        let recordingContentView = this.contentBrowser.currentContentView;
     275        if (!(recordingContentView instanceof WI.RecordingContentView))
     276            return;
     277
    274278        let selectedTreeElement = event.data.selectedElement;
    275279        if (selectedTreeElement instanceof WI.FolderTreeElement)
    276             return;
    277 
    278         let recordingContentView = this.contentBrowser.currentContentView;
    279         if (!(recordingContentView instanceof WI.RecordingContentView))
    280             return;
     280            selectedTreeElement = selectedTreeElement.children.lastValue;
    281281
    282282        this._updateActionIndex(selectedTreeElement.index, {suppressNavigationSidebarUpdate: true});
  • trunk/Source/WebInspectorUI/UserInterface/Views/RecordingActionTreeElement.css

    r224367 r224475  
    2828}
    2929
    30 .tree-outline:not(:focus, .force-focus) .item.action:not(.initial-state, .parent, .invalid) > .icon {
    31     opacity: 0.7;
    32 }
    33 
    3430.item.action:not(.initial-state)::before {
    3531    position: relative;
     
    6258}
    6359
    64 body:not(.window-inactive, .window-docked-inactive) .item.action > .titles .parameter.swizzled {
     60.item.action > .titles .parameter.swizzled {
    6561    color: var(--text-color-gray-medium);
    6662}
Note: See TracChangeset for help on using the changeset viewer.