From 4bb8c8b3e8f0c39f789e4a64020a8b44d2506af5 Mon Sep 17 00:00:00 2001 From: Wx-2025 <351320169@qq.com> Date: Fri, 11 Jul 2025 15:29:09 +0800 Subject: [PATCH] Update state.js --- ui/state.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/state.js b/ui/state.js index 998cde8..c10aaf6 100644 --- a/ui/state.js +++ b/ui/state.js @@ -120,6 +120,9 @@ export function updateUI() { ).prop("checked", true); $(`input[name="amily2_icon_location"][value="${settings.iconLocation}"]`).prop("checked", true); + $("#amily2_auto_hide_enabled").prop("checked", settings.autoHideEnabled); + $("#amily2_auto_hide_threshold").val(settings.autoHideThreshold); + $("#amily2_auto_hide_threshold_value").text(settings.autoHideThreshold); populateModelDropdown(); } }