Skip to content

Commit c24b052

Browse files
committed
1 parent c79a6ce commit c24b052

File tree

1 file changed

+1
-1
lines changed
  • packages/project-editor/lvgl/widgets

1 file changed

+1
-1
lines changed

packages/project-editor/lvgl/widgets/Base.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2000,7 +2000,7 @@ export class LVGLWidget extends Widget {
20002000

20012001
if (this.flagScrollDirection) {
20022002
build.line(
2003-
`lv_obj_set_scroll_snap_x(obj, LV_DIR_${this.flagScrollDirection.toUpperCase()});`
2003+
`lv_obj_set_scroll_dir(obj, LV_DIR_${this.flagScrollDirection.toUpperCase()});`
20042004
);
20052005
}
20062006

0 commit comments

Comments
 (0)