User configuration applies at start, jump and goToNow

This commit is contained in:
l_samenv
2024-09-04 08:54:28 +02:00
parent 2ea2219b67
commit 345a231bdd
5 changed files with 37 additions and 5 deletions

View File

@ -7,7 +7,7 @@ class CurvesSettingsPopup extends HTMLElement{
initTable(){
let userConfiguration = this.getUserConfiguration();
let userConfiguration = getUserConfiguration();
let tbody = this.querySelector("#curves-settings-popup-table tbody");
tbody.innerHTML = "";
@ -25,7 +25,7 @@ class CurvesSettingsPopup extends HTMLElement{
let formattedUserConfiguration = this.getFormattedUserConfiguration(localStorageBuffer);
localStorage.clear();
this.saveUserConfiguration(localStorageBuffer);
saveUserConfiguration(localStorageBuffer);
this.hide();
this.applySettingsCallback(formattedUserConfiguration);