eez-open / studio

Cross-platform low-code GUI and automation
https://www.envox.eu/studio/studio-introduction/
GNU General Public License v3.0
616 stars 101 forks source link

[LVGL] Line widget - Invert Y generates incorrect code #506

Closed bentron2000 closed 2 months ago

bentron2000 commented 3 months ago

Describe the bug When inverting a line within a chart in LVGL, the correct code is generated but the line is not terminated with a semicolon.

To Reproduce Steps to reproduce the behavior:

  1. Create a chart in a LVGL Project
  2. Add a line within this chart
  3. Click 'Invert Y'
  4. Build
  5. Observe code generated in screens.c is lv_line_set_y_invert(obj, true) (without the terminating semicolon)

Expected behavior Should generate: lv_line_set_y_invert(obj, true);

LVGL version (if used) 9.x

mvladic commented 3 months ago

Fixed.