表盘界面下拉-返回-左右滑进主菜单,较大概率出现界面显示异常
author@CHENG <2393524978@qq.com>
Tue, 17 Dec 2024 07:34:31 +0000 (15:34 +0800)
committer@CHENG <2393524978@qq.com>
Tue, 17 Dec 2024 07:34:31 +0000 (15:34 +0800)
2.sdk/sdk/gui/lv_watch/lv_apps/launcher/launcher.c

index 6059e1a..fbb6aa1 100644 (file)
@@ -236,6 +236,9 @@ static lv_res_t launcher_tileview_scrl_signal(lv_obj_t * tile_scrl, lv_signal_t
                     lv_tileview_set_tile_act(tileview, 0, 0, false);
                 }
             }
+               #if 1
+                       return LV_RES_OK;
+               #endif
         }
         if(drag_dir & LV_DRAG_DIR_VER) {
             if(launcher_tileview_act_is_dial() == false) return LV_RES_OK;
@@ -258,6 +261,9 @@ static lv_res_t launcher_tileview_scrl_signal(lv_obj_t * tile_scrl, lv_signal_t
             } else {
                 lv_obj_set_y(pedometer_obj, act_pt.y);
             }
+               #if 1
+                       return LV_RES_OK;
+               #endif
         }
         return LV_RES_OK;
     } else if(LV_SIGNAL_PRESS_LOST == sign || LV_SIGNAL_RELEASED == sign) {