diff --git a/website/o3dv/js/sidebarpanels.js b/website/o3dv/js/sidebarpanels.js index d24713d..4d136d9 100644 --- a/website/o3dv/js/sidebarpanels.js +++ b/website/o3dv/js/sidebarpanels.js @@ -361,9 +361,7 @@ OV.SettingsSidebarPanel = class extends OV.SidebarPanel let resetToDefaultsButton = OV.AddDiv (this.contentDiv, 'ov_button outline ov_sidebar_button', 'Reset to Default'); resetToDefaultsButton.addEventListener ('click', () => { this.backgroundColorInput.pickr.setColor ('#' + OV.ColorToHexString (defaultSettings.backgroundColor)); - this.callbacks.onBackgroundColorChange (defaultSettings.backgroundColor); this.defaultColorInput.pickr.setColor ('#' + OV.ColorToHexString (defaultSettings.defaultColor)); - this.callbacks.onDefaultColorChange (defaultSettings.defaultColor); if (this.themeInput !== null) { this.themeInput.select (defaultSettings.themeId); this.callbacks.onThemeChange (defaultSettings.themeId);