Skip to content

Commit

Permalink
Fixed: [LVGL] LVGL action doesn't work inside user widget that is use…
Browse files Browse the repository at this point in the history
…d inside another user widget #664
  • Loading branch information
mvladic committed Dec 13, 2024
1 parent f815023 commit 1487f3b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions resources/eez-framework-amalgamation/eez-flow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Autogenerated on December 10, 2024 10:49:42 AM from eez-framework commit 20567d18ee9cf9571eed6954b52170f2b920b7b1 */
/* Autogenerated on December 13, 2024 5:53:17 PM from eez-framework commit 7dcacae5b4b7936d36d1c7257ee51cc53e895925 */
/*
* eez-framework
*
Expand Down Expand Up @@ -4185,7 +4185,8 @@ void executeLVGLComponent(FlowState *flowState, unsigned componentIndex) {
NAME = getLvglObjectFromIndexHook(flowState->lvglWidgetStartIndex + NAME##_WidgetIndex); \
} else { \
int32_t NAME##_WidgetIndex = NAME##Value.getInt(); \
NAME = getLvglObjectFromIndexHook(flowState->lvglWidgetStartIndex + NAME##_WidgetIndex); \
for (FlowState *fs = flowState; fs; fs = fs->parentFlowState) NAME##_WidgetIndex += fs->lvglWidgetStartIndex; \
NAME = getLvglObjectFromIndexHook(NAME##_WidgetIndex); \
} \
if (!NAME) { \
throwError(flowState, componentIndex, FlowError::NullInAction("Widget", actionName, actionIndex)); \
Expand Down
2 changes: 1 addition & 1 deletion resources/eez-framework-amalgamation/eez-flow.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Autogenerated on December 10, 2024 10:49:42 AM from eez-framework commit 20567d18ee9cf9571eed6954b52170f2b920b7b1 */
/* Autogenerated on December 13, 2024 5:53:17 PM from eez-framework commit 7dcacae5b4b7936d36d1c7257ee51cc53e895925 */
/*
* eez-framework
*
Expand Down
2 changes: 1 addition & 1 deletion wasm/eez-framework

0 comments on commit 1487f3b

Please sign in to comment.