From 9d0fbaead49a50b4b1a237d7651498616b67c166 Mon Sep 17 00:00:00 2001 From: xiaoshi <115949669+xiaoshi930@users.noreply.github.com> Date: Sat, 27 Dec 2025 14:01:17 +0800 Subject: [PATCH] Update xiaoshi-device-todo-button.js --- xiaoshi-device-todo-button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xiaoshi-device-todo-button.js b/xiaoshi-device-todo-button.js index 142a879..c0de02d 100644 --- a/xiaoshi-device-todo-button.js +++ b/xiaoshi-device-todo-button.js @@ -1630,7 +1630,7 @@ class XiaoshiTodoButton extends LitElement { const buttonIcon = this.config.button_icon || 'mdi:clipboard-list'; // 设置背景颜色 - const buttonBgColor = transparentBg ? 'transparent' : theme === 'on' ? 'rgb(255, 255, 255, 0.6)' : 'rgb(50, 50, 50, 0.6)'; + const buttonBgColor = transparentBg ? 'transparent' : theme === 'on' ? 'rgb(255, 255, 255, 0.6)' : 'rgb(83, 83, 83, 0.6)'; // 检查是否需要自动隐藏(只有数据加载完成且数量为0时才考虑隐藏) const shouldAutoHide = this._dataLoaded && autoHide && totalIncompleteCount === 0;