commit | 10d76932286c4b001eb4c4a13d8bf401f4ee46a7 | [log] [tgz] |
---|---|---|
author | Changhao Han <changhaohan@chromium.org> | Tue Apr 26 09:55:56 2022 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 26 10:56:07 2022 |
tree | b742d6c691ee6c8e54fc3984d0860e7962062a50 | |
parent | d926f31cbd1d40cd6d76b7e81f9b4f717207c9cf [diff] |
Allow tab reorder in Styles sidebar pane Bug: 1146146 Change-Id: I4a36deaf0f1fcc6e54d956dc827121230eebf624 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3607831 Auto-Submit: Changhao Han <changhaohan@chromium.org> Reviewed-by: Johan Bay <jobay@chromium.org> Commit-Queue: Johan Bay <jobay@chromium.org>
diff --git a/front_end/panels/elements/ElementsPanel.ts b/front_end/panels/elements/ElementsPanel.ts index 3a22b72..ea8863e 100644 --- a/front_end/panels/elements/ElementsPanel.ts +++ b/front_end/panels/elements/ElementsPanel.ts
@@ -1029,7 +1029,7 @@ }; this.sidebarPaneView = UI.ViewManager.ViewManager.instance().createTabbedLocation( - () => UI.ViewManager.ViewManager.instance().showView('elements')); + () => UI.ViewManager.ViewManager.instance().showView('elements'), 'Styles-pane-sidebar', false, true); const tabbedPane = this.sidebarPaneView.tabbedPane(); if (this.splitMode !== _splitMode.Vertical) { this.splitWidget.installResizer(tabbedPane.headerElement());