Title: [247248] trunk/Source/WebInspectorUI
Revision
247248
Author
[email protected]
Date
2019-07-08 19:19:26 -0700 (Mon, 08 Jul 2019)

Log Message

Enabling the Layers tab hides the paint flashing button
https://bugs.webkit.org/show_bug.cgi?id=199549

Reviewed by Joseph Pecoraro.

Still show the Compositing Borders and Paint Flashing navigation items in the Elements tab
even when the Layers tab is enabled (just like the Layers details sidebar).

* UserInterface/Views/DOMTreeContentView.js:
(WI.DOMTreeContentView.prototype.get navigationItems):
(WI.DOMTreeContentView.prototype._updateCompositingBordersButtonToMatchPageSettings):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (247247 => 247248)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-07-09 02:18:56 UTC (rev 247247)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-07-09 02:19:26 UTC (rev 247248)
@@ -1,5 +1,19 @@
 2019-07-08  Devin Rousso  <[email protected]>
 
+        Enabling the Layers tab hides the paint flashing button
+        https://bugs.webkit.org/show_bug.cgi?id=199549
+
+        Reviewed by Joseph Pecoraro.
+
+        Still show the Compositing Borders and Paint Flashing navigation items in the Elements tab
+        even when the Layers tab is enabled (just like the Layers details sidebar).
+
+        * UserInterface/Views/DOMTreeContentView.js:
+        (WI.DOMTreeContentView.prototype.get navigationItems):
+        (WI.DOMTreeContentView.prototype._updateCompositingBordersButtonToMatchPageSettings):
+
+2019-07-08  Devin Rousso  <[email protected]>
+
         Web Inspector: REGRESSION: Elements: pasting in the Styles sidebar adds a text node to the DOM tree
         https://bugs.webkit.org/show_bug.cgi?id=199588
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js (247247 => 247248)


--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js	2019-07-09 02:18:56 UTC (rev 247247)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js	2019-07-09 02:19:26 UTC (rev 247248)
@@ -128,13 +128,11 @@
         if (this._showRulersButtonNavigationItem)
            items.unshift(this._showRulersButtonNavigationItem);
 
-        if (!WI.settings.experimentalEnableLayersTab.value) {
-            if (this._compositingBordersButtonNavigationItem)
-                items.push(this._compositingBordersButtonNavigationItem);
+        if (this._compositingBordersButtonNavigationItem)
+            items.push(this._compositingBordersButtonNavigationItem);
 
-            if (this._paintFlashingButtonNavigationItem)
-                items.push(this._paintFlashingButtonNavigationItem);
-       }
+        if (this._paintFlashingButtonNavigationItem)
+            items.push(this._paintFlashingButtonNavigationItem);
 
         return items;
     }
@@ -606,9 +604,6 @@
 
     _updateCompositingBordersButtonToMatchPageSettings()
     {
-        if (WI.settings.experimentalEnableLayersTab.value)
-            return;
-
         var button = this._compositingBordersButtonNavigationItem;
 
         // We need to sync with the page settings since these can be controlled
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to