Title: [259524] trunk/Source/WebInspectorUI
- Revision
- 259524
- Author
- [email protected]
- Date
- 2020-04-03 18:01:13 -0700 (Fri, 03 Apr 2020)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (259523 => 259524)
--- trunk/Source/WebInspectorUI/ChangeLog 2020-04-04 00:44:31 UTC (rev 259523)
+++ trunk/Source/WebInspectorUI/ChangeLog 2020-04-04 01:01:13 UTC (rev 259524)
@@ -1,3 +1,15 @@
+2020-04-03 Devin Rousso <[email protected]>
+
+ 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):
+
2020-04-03 David Kilzer <[email protected]>
[Xcode] Replace ASAN_OTHER_CFLAGS and ASAN_OTHER_CPLUSPLUSFLAGS with $(inherited)
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.js (259523 => 259524)
--- trunk/Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.js 2020-04-04 00:44:31 UTC (rev 259523)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.js 2020-04-04 01:01:13 UTC (rev 259524)
@@ -545,6 +545,7 @@
if (!this._anonymousScriptsFolderTreeElement.parent) {
let index = insertionIndexForObjectInListSortedByFunction(this._anonymousScriptsFolderTreeElement, this._resourcesTreeOutline.children, this._boundCompareTreeElements);
this._resourcesTreeOutline.insertChild(this._anonymousScriptsFolderTreeElement, index);
+ this._resourcesTreeOutline.disclosureButtons = true;
}
this._anonymousScriptsFolderTreeElement.representedObject.add(representedObject);
@@ -569,6 +570,7 @@
if (!this._anonymousStyleSheetsFolderTreeElement.parent) {
let index = insertionIndexForObjectInListSortedByFunction(this._anonymousStyleSheetsFolderTreeElement, this._resourcesTreeOutline.children, this._boundCompareTreeElements);
this._resourcesTreeOutline.insertChild(this._anonymousStyleSheetsFolderTreeElement, index);
+ this._resourcesTreeOutline.disclosureButtons = true;
}
let cssStyleSheetTreeElement = new WI.CSSStyleSheetTreeElement(representedObject);
@@ -982,6 +984,7 @@
if (!parentTreeElement.parent) {
let index = insertionIndexForObjectInListSortedByFunction(parentTreeElement, this._resourcesTreeOutline.children, this._boundCompareTreeElements);
this._resourcesTreeOutline.insertChild(parentTreeElement, index);
+ this._resourcesTreeOutline.disclosureButtons = true;
}
let treeElement = new WI.CSSStyleSheetTreeElement(styleSheet);
@@ -1046,6 +1049,7 @@
if (!parentFolderTreeElement.parent) {
let index = insertionIndexForObjectInListSortedByFunction(parentFolderTreeElement, this._resourcesTreeOutline.children, this._boundCompareTreeElements);
this._resourcesTreeOutline.insertChild(parentFolderTreeElement, index);
+ this._resourcesTreeOutline.disclosureButtons = true;
}
parentFolderTreeElement.appendChild(scriptTreeElement);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes