Add 3.8 changelog and fix RTA octave selection
This commit is contained in:
+4
-5
@@ -1,7 +1,7 @@
|
||||
// ui/options.js — bindet das Options-Panel an CONFIG (lesen/schreiben), Presets, Export/Import
|
||||
// Erwartet vorhandenes DOM aus index.html. Nutzt localStorage-Key 'analyzer_config'.
|
||||
|
||||
import { CONFIG, saveConfig, loadConfig, applyAlignmentProfile, applySoftwarePreset, loadSoftwarePreset, saveSoftwarePreset, loadLayoutPreset, saveLayoutPreset, exportSoftwarePreset, importSoftwarePreset, updateVuReference, resetConfigToDefaults, updateInputOffsetGain } from '../core/config.js';
|
||||
import { CONFIG, saveConfig, loadConfig, applyAlignmentProfile, applyRtaBpoSelection, applySoftwarePreset, loadSoftwarePreset, saveSoftwarePreset, loadLayoutPreset, saveLayoutPreset, exportSoftwarePreset, importSoftwarePreset, updateVuReference, resetConfigToDefaults, updateInputOffsetGain } from '../core/config.js';
|
||||
import { clamp, clampPow2 } from '../core/utils.js';
|
||||
|
||||
// DOM helper
|
||||
@@ -1075,10 +1075,9 @@ function wireHandlers(env) {
|
||||
return CONFIG.RTA_ENGINE;
|
||||
});
|
||||
h('opt_rtaBpo', v => {
|
||||
const allowed = new Set(['1_3', '1_6', '1_12']);
|
||||
CONFIG.RTA_BPO_MODE = CONFIG.RTA_BAR_LAYOUT === 'rtw'
|
||||
? '1_3'
|
||||
: (allowed.has(v) ? v : '1_6');
|
||||
applyRtaBpoSelection(v);
|
||||
const layoutControl = E('opt_rtaLayout');
|
||||
if (layoutControl) layoutControl.value = CONFIG.RTA_BAR_LAYOUT;
|
||||
notifyPhoenixGlobalConfig();
|
||||
return CONFIG.RTA_BPO_MODE;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user