mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 11:15:50 +00:00
Update state.js
This commit is contained in:
@@ -123,6 +123,15 @@ export function updateUI() {
|
|||||||
$("#amily2_auto_hide_enabled").prop("checked", settings.autoHideEnabled);
|
$("#amily2_auto_hide_enabled").prop("checked", settings.autoHideEnabled);
|
||||||
$("#amily2_auto_hide_threshold").val(settings.autoHideThreshold);
|
$("#amily2_auto_hide_threshold").val(settings.autoHideThreshold);
|
||||||
$("#amily2_auto_hide_threshold_value").text(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();
|
populateModelDropdown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user