We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a956f1 commit ca7e7e6Copy full SHA for ca7e7e6
1 file changed
packages/project-editor/lvgl/widgets/Spinner.tsx
@@ -69,5 +69,14 @@ export class LVGLSpinnerWidget extends LVGLWidget {
69
const ARC_LENGTH = 60;
70
code.createObject(`lv_spinner_create`, SPIN_TIME, ARC_LENGTH);
71
}
72
+
73
+ // do not animate spinner when in editor mode
74
+ if (code.pageRuntime && code.pageRuntime.isEditor) {
75
+ if (code.isV9) {
76
+ code.callFreeFunction(`lv_anim_delete_all`);
77
+ } else {
78
+ code.callFreeFunction(`lv_anim_del_all`);
79
+ }
80
81
82
0 commit comments