зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1425653 - Inspector should retain the width of its sidebar on reopen. r=mparkms
This commit is contained in:
Родитель
925c23f412
Коммит
f78fd8e78c
|
@ -552,11 +552,8 @@ Inspector.prototype = {
|
|||
let state = this.splitBox.state;
|
||||
Services.prefs.setIntPref("devtools.toolsidebar-width.inspector", state.width);
|
||||
Services.prefs.setIntPref("devtools.toolsidebar-height.inspector", state.height);
|
||||
|
||||
if (this.isSplitRuleViewEnabled) {
|
||||
Services.prefs.setIntPref("devtools.toolsidebar-width.inspector.splitsidebar",
|
||||
this.sidebarSplitBox.state.width);
|
||||
}
|
||||
Services.prefs.setIntPref("devtools.toolsidebar-width.inspector.splitsidebar",
|
||||
this.sidebarSplitBox.state.width);
|
||||
},
|
||||
|
||||
onSidebarResized: function (width, height) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче