Changeset 248682 in webkit


Ignore:
Timestamp:
Aug 14, 2019 11:43:07 AM (5 years ago)
Author:
Devin Rousso
Message:

Web Inspector: Elements: Computed: the collapsed state of the Variables section should be separate from the collapsed state of the Properties section
https://bugs.webkit.org/show_bug.cgi?id=200725

Reviewed by Joseph Pecoraro.

  • UserInterface/Views/ComputedStyleDetailsPanel.js:

(WI.ComputedStyleDetailsPanel.prototype.initialLayout):
Use a different identifier string for the Variable section so it preserves its own collapsed
collapsed state independent of the Properties section.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r248681 r248682  
     12019-08-14  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: Elements: Computed: the collapsed state of the Variables section should be separate from the collapsed state of the Properties section
     4        https://bugs.webkit.org/show_bug.cgi?id=200725
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * UserInterface/Views/ComputedStyleDetailsPanel.js:
     9        (WI.ComputedStyleDetailsPanel.prototype.initialLayout):
     10        Use a different identifier string for the Variable section so it preserves its own collapsed
     11        collapsed state independent of the Properties section.
     12
    1132019-08-14  Devin Rousso  <drousso@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.js

    r248390 r248682  
    117117        let variablesRow = new WI.DetailsSectionRow;
    118118        let variablesGroup = new WI.DetailsSectionGroup([variablesRow]);
    119         this._variablesSection = new WI.DetailsSection("computed-style-properties", WI.UIString("Variables"), [variablesGroup]);
     119        this._variablesSection = new WI.DetailsSection("computed-style-variables", WI.UIString("Variables"), [variablesGroup]);
    120120        this._variablesSection.addEventListener(WI.DetailsSection.Event.CollapsedStateChanged, this._handleVariablesSectionCollapsedStateChanged, this);
    121121
Note: See TracChangeset for help on using the changeset viewer.