From 595097c4bb2e1aa6f9a3e1315ea8910f997d32b1 Mon Sep 17 00:00:00 2001 From: Martin Vladic Date: Wed, 16 Oct 2024 16:48:55 +0200 Subject: [PATCH] #593 --- packages/project-editor/lvgl/widgets/Base.tsx | 2 +- packages/project-editor/lvgl/widgets/UserWidget.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/project-editor/lvgl/widgets/Base.tsx b/packages/project-editor/lvgl/widgets/Base.tsx index 545bf839..0507a079 100644 --- a/packages/project-editor/lvgl/widgets/Base.tsx +++ b/packages/project-editor/lvgl/widgets/Base.tsx @@ -1575,7 +1575,7 @@ export class LVGLWidget extends Widget { const project = ProjectEditor.getProject(this); - if (runtime.wasm.assetsMap?.flowIndexes.length > 0) { + if (runtime.wasm.assetsMap?.flows.length > 0) { const page = getAncestorOfType( this, ProjectEditor.PageClass.classInfo diff --git a/packages/project-editor/lvgl/widgets/UserWidget.tsx b/packages/project-editor/lvgl/widgets/UserWidget.tsx index c25d9389..c1e04bec 100644 --- a/packages/project-editor/lvgl/widgets/UserWidget.tsx +++ b/packages/project-editor/lvgl/widgets/UserWidget.tsx @@ -456,7 +456,7 @@ export class LVGLUserWidgetWidget extends LVGLWidget { const savedUserWidgetContext = runtime.lvglCreateContext; - if (runtime.wasm.assetsMap?.flowIndexes.length > 0) { + if (runtime.wasm.assetsMap?.flows.length > 0) { const flow = runtime.wasm.assetsMap.flows[savedUserWidgetContext.pageIndex]; if (flow) {