From 0a905d280d5e1f35dbe3852860c0ea86e688f236 Mon Sep 17 00:00:00 2001 From: skiinder Date: Wed, 15 Apr 2026 10:59:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20=E7=A7=BB=E9=99=A4=E5=B1=8F?= =?UTF-8?q?=E5=B9=95=E8=83=8C=E6=99=AF=E6=B8=90=E5=8F=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除了UI主界面屏幕对象的背景渐变颜色和垂直渐变方向样式设置, 统一使用纯色背景以简化界面设计并提升渲染性能。 --- src/ui/ui_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 0c88628..29d160f 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -207,8 +207,6 @@ void ui_main_init(const struct ui_main_model *model, lv_obj_clean(screen); lv_obj_set_style_bg_color(screen, lv_color_hex(0x0F1115), 0); - lv_obj_set_style_bg_grad_color(screen, lv_color_hex(0x1A1F29), 0); - lv_obj_set_style_bg_grad_dir(screen, LV_GRAD_DIR_VER, 0); lv_obj_set_style_bg_opa(screen, LV_OPA_COVER, 0); lv_obj_set_style_text_color(screen, lv_color_white(), 0); lv_obj_set_style_pad_all(screen, 0, 0);