Fix settings in the right pane

This commit is contained in:
Julia Radzhabova
2024-04-16 18:33:02 +03:00
parent 04bcfca0f0
commit f2d3a65c86
3 changed files with 3 additions and 3 deletions

View File

@ -569,7 +569,7 @@ define([
if (this._settings[type]===undefined || this._settings[type].hidden || this._settings[type].btn.isDisabled() || this._settings[type].panelId===this.rightmenu.GetActivePane()) return;
this.rightmenu.SetActivePane(type, true);
this._settings[type].panel.ChangeSettings.call(this._settings[type].panel);
this._settings[type].panel.ChangeSettings.call(this._settings[type].panel, this._settings[type].props);
this.rightmenu.updateScroller();
},

View File

@ -453,7 +453,7 @@ define([
if (this._settings[type]===undefined || this._settings[type].hidden || this._settings[type].btn.isDisabled() || this._settings[type].panelId===this.rightmenu.GetActivePane()) return;
this.rightmenu.SetActivePane(type, true);
this._settings[type].panel.ChangeSettings.call(this._settings[type].panel);
this._settings[type].panel.ChangeSettings.call(this._settings[type].panel, this._settings[type].props);
this.rightmenu.updateScroller();
},

View File

@ -534,7 +534,7 @@ define([
if (this._settings[type]===undefined || this._settings[type].hidden || this._settings[type].btn.isDisabled() || this._settings[type].panelId===this.rightmenu.GetActivePane()) return;
this.rightmenu.SetActivePane(type, true);
this._settings[type].panel.ChangeSettings.call(this._settings[type].panel);
this._settings[type].panel.ChangeSettings.call(this._settings[type].panel, this._settings[type].props);
this.rightmenu.updateScroller();
},