Skip to content

Commit 92981c6

Browse files
committed
fix: don't show expression in the Label widget name area
1 parent 7999e40 commit 92981c6

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/Label.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class LVGLLabelWidget extends LVGLWidget {
4949
name = `${name} [${widget.identifier}]`;
5050
}
5151

52-
if (widget.text) {
52+
if (widget.text && widget.textType == "literal") {
5353
return `${name}: ${widget.text}`;
5454
}
5555

0 commit comments

Comments
 (0)