Changeset 259524 in webkit


Ignore:
Timestamp:
Apr 3, 2020 6:01:13 PM (4 years ago)
Author:
Devin Rousso
Message:

Web Inspector: Sources: disclosure arrows should be shown if a folder is added to the navigation sidebar
https://bugs.webkit.org/show_bug.cgi?id=209937

Reviewed by Timothy Hatcher.

  • UserInterface/Views/SourcesNavigationSidebarPanel.js:

(WI.SourcesNavigationSidebarPanel.prototype.treeElementForRepresentedObject):
(WI.SourcesNavigationSidebarPanel.prototype._addStyleSheet):
(WI.SourcesNavigationSidebarPanel.prototype._addScript):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r259466 r259524  
     12020-04-03  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: Sources: disclosure arrows should be shown if a folder is added to the navigation sidebar
     4        https://bugs.webkit.org/show_bug.cgi?id=209937
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Views/SourcesNavigationSidebarPanel.js:
     9        (WI.SourcesNavigationSidebarPanel.prototype.treeElementForRepresentedObject):
     10        (WI.SourcesNavigationSidebarPanel.prototype._addStyleSheet):
     11        (WI.SourcesNavigationSidebarPanel.prototype._addScript):
     12
    1132020-04-03  David Kilzer  <ddkilzer@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.js

    r257410 r259524  
    546546                let index = insertionIndexForObjectInListSortedByFunction(this._anonymousScriptsFolderTreeElement, this._resourcesTreeOutline.children, this._boundCompareTreeElements);
    547547                this._resourcesTreeOutline.insertChild(this._anonymousScriptsFolderTreeElement, index);
     548                this._resourcesTreeOutline.disclosureButtons = true;
    548549            }
    549550
     
    570571                let index = insertionIndexForObjectInListSortedByFunction(this._anonymousStyleSheetsFolderTreeElement, this._resourcesTreeOutline.children, this._boundCompareTreeElements);
    571572                this._resourcesTreeOutline.insertChild(this._anonymousStyleSheetsFolderTreeElement, index);
     573                this._resourcesTreeOutline.disclosureButtons = true;
    572574            }
    573575
     
    983985            let index = insertionIndexForObjectInListSortedByFunction(parentTreeElement, this._resourcesTreeOutline.children, this._boundCompareTreeElements);
    984986            this._resourcesTreeOutline.insertChild(parentTreeElement, index);
     987            this._resourcesTreeOutline.disclosureButtons = true;
    985988        }
    986989
     
    10471050                let index = insertionIndexForObjectInListSortedByFunction(parentFolderTreeElement, this._resourcesTreeOutline.children, this._boundCompareTreeElements);
    10481051                this._resourcesTreeOutline.insertChild(parentFolderTreeElement, index);
     1052                this._resourcesTreeOutline.disclosureButtons = true;
    10491053            }
    10501054
Note: See TracChangeset for help on using the changeset viewer.