From 14e1eb62aeca501dfa7288b72dc7e819a8d91372 Mon Sep 17 00:00:00 2001 From: Wx-2025 <351320169@qq.com> Date: Sat, 12 Jul 2025 17:48:36 +0800 Subject: [PATCH] Update state.js --- ui/state.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ui/state.js b/ui/state.js index c10aaf6..1fb1285 100644 --- a/ui/state.js +++ b/ui/state.js @@ -123,6 +123,15 @@ export function updateUI() { $("#amily2_auto_hide_enabled").prop("checked", settings.autoHideEnabled); $("#amily2_auto_hide_threshold").val(settings.autoHideThreshold); $("#amily2_auto_hide_threshold_value").text(settings.autoHideThreshold); + $('#amily2_lore_activation_mode').val(settings.loreActivationMode); + $('#amily2_lore_insertion_position').val(settings.loreInsertionPosition); + $('#amily2_lore_depth_input').val(settings.loreDepth); + if (settings.loreInsertionPosition === 'at_depth') { + $('#amily2_lore_depth_container').show(); + } else { + $('#amily2_lore_depth_container').hide(); + } + populateModelDropdown(); } }