Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Oct 16, 2024
1 parent 0ab68a7 commit 595097c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/project-editor/lvgl/widgets/Base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/project-editor/lvgl/widgets/UserWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 595097c

Please sign in to comment.