diff --git a/src/PiPedalModel.cpp b/src/PiPedalModel.cpp index 429f88b..21c9eb7 100644 --- a/src/PiPedalModel.cpp +++ b/src/PiPedalModel.cpp @@ -308,6 +308,7 @@ void PiPedalModel::Load() if (storage.RestoreCurrentPreset(¤tPreset)) { this->pedalboard = currentPreset.preset_; + this->UpdateDefaults(&pedalboard); this->hasPresetChanged = currentPreset.modified_; } } diff --git a/vite/src/pipedal/PluginControl.tsx b/vite/src/pipedal/PluginControl.tsx index 5554e4e..3af35d4 100644 --- a/vite/src/pipedal/PluginControl.tsx +++ b/vite/src/pipedal/PluginControl.tsx @@ -1103,12 +1103,11 @@ const PluginControl = min: this.props.uiControl?.min_value, max: this.props.uiControl?.max_value, - opacity: this.state.editFocused ? 1 : 0, }} sx={{ // Style the input element - '& input[type=number]': { + '& input': { width: 60, opacity: this.state.editFocused ? 1 : 0, textAlign: "center", fontSize: FONT_SIZE,