From c24b0529e22887d9d26f5aff5021992ed23349ee Mon Sep 17 00:00:00 2001 From: Martin Vladic Date: Thu, 16 Jan 2025 09:43:45 +0100 Subject: [PATCH] #703 --- packages/project-editor/lvgl/widgets/Base.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/project-editor/lvgl/widgets/Base.tsx b/packages/project-editor/lvgl/widgets/Base.tsx index 84703ac02..c066a15b2 100644 --- a/packages/project-editor/lvgl/widgets/Base.tsx +++ b/packages/project-editor/lvgl/widgets/Base.tsx @@ -2000,7 +2000,7 @@ export class LVGLWidget extends Widget { if (this.flagScrollDirection) { build.line( - `lv_obj_set_scroll_snap_x(obj, LV_DIR_${this.flagScrollDirection.toUpperCase()});` + `lv_obj_set_scroll_dir(obj, LV_DIR_${this.flagScrollDirection.toUpperCase()});` ); }