删除所有外部旧引用

This commit is contained in:
xinzhu.yin
2026-05-24 11:21:30 +08:00
parent 1b66fff35b
commit 29f7d39fe9
13 changed files with 319 additions and 237 deletions

View File

@@ -13,7 +13,8 @@ import ttkbootstrap as ttk
from PIL import Image, ImageTk
from app.services import ai_image as _svc
from drivers.ucd_helpers import get_current_resolution
# ---------------- 面板创建 ----------------
@@ -638,7 +639,7 @@ def _send_to_ucd(self):
# 发送前检查分辨率:建议与当前 UCD 输出分辨率一致。
try:
target_w, target_h = get_current_resolution(ucd)
target_w, target_h = self.signal_service.current_resolution()
except Exception:
target_w, target_h = 3840, 2160
try: