Title: [253759] trunk/Source/WebInspectorUI
Revision
253759
Author
[email protected]
Date
2019-12-19 09:48:47 -0800 (Thu, 19 Dec 2019)

Log Message

Web Inspector: Audit: exiting edit mode with the same selection as before entering edit mode doesn't reselect
https://bugs.webkit.org/show_bug.cgi?id=205435

Reviewed by Brian Burg.

* UserInterface/Views/AuditNavigationSidebarPanel.js:
(WI.AuditNavigationSidebarPanel.prototype.initialLayout):
Set `allowsRepeatSelection` so that selecting the previously selected tree element after
leaving edit mode will actually work.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (253758 => 253759)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-12-19 17:48:21 UTC (rev 253758)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-12-19 17:48:47 UTC (rev 253759)
@@ -1,5 +1,17 @@
 2019-12-19  Devin Rousso  <[email protected]>
 
+        Web Inspector: Audit: exiting edit mode with the same selection as before entering edit mode doesn't reselect
+        https://bugs.webkit.org/show_bug.cgi?id=205435
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Views/AuditNavigationSidebarPanel.js:
+        (WI.AuditNavigationSidebarPanel.prototype.initialLayout):
+        Set `allowsRepeatSelection` so that selecting the previously selected tree element after
+        leaving edit mode will actually work.
+
+2019-12-19  Devin Rousso  <[email protected]>
+
         Web Inspector: Elements: Styles: bezier keywords don't show a swatch
         https://bugs.webkit.org/show_bug.cgi?id=205436
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/AuditNavigationSidebarPanel.js (253758 => 253759)


--- trunk/Source/WebInspectorUI/UserInterface/Views/AuditNavigationSidebarPanel.js	2019-12-19 17:48:21 UTC (rev 253758)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/AuditNavigationSidebarPanel.js	2019-12-19 17:48:47 UTC (rev 253759)
@@ -77,8 +77,6 @@
     {
         super.initialLayout();
 
-        this.contentTreeOutline.allowsRepeatSelection = false;
-
         let controlsNavigationBar = new WI.NavigationBar;
 
         this._startStopButtonNavigationItem = new WI.ToggleButtonNavigationItem("audit-start-stop", WI.UIString("Start"), WI.UIString("Stop"), "Images/AuditStart.svg", "Images/AuditStop.svg", 13, 13);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to