# Roller widget infinity bug

**URL:** <http://forum.squareline.io/t/roller-widget-infinity-bug/1521>\
**Category:** Bugs\
**Created:** [July 18, 2023, 12:18am UTC](http://forum.squareline.io/t/roller-widget-infinity-bug/1521 "2023-07-18T00:18:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hans](http://forum.squareline.io/letter_avatar_proxy/v4/letter/h/e19b73/32.png) [@hans](http://forum.squareline.io/u/hans)\
**Post date:** [July 18, 2023, 12:18am UTC](http://forum.squareline.io/t/roller-widget-infinity-bug/1521/1 "2023-07-18T00:18:53Z")

</div>

### What do you want to achieve?

Roller without garbled screen 😉

### What have you tried so far?

Added an infinite Roller with Option: 00..59

 ![image](http://forum.squareline.io/uploads/default/original/1X/315b791f13a69301f0446c59ca92125cd5dfe074.png)

```auto
void loop() {
  static uint16_t s = 59;
  lv_timer_handler(); /* let the GUI do its work */
  lv_roller_set_selected(ui_FTSRoller, s, LV_ANIM_ON);
  lv_refr_now(NULL);
  if (s == 0)
    s = 59;
  else
    s--;
  delay(1000);
}

```

### Screenshot or video

 ![Image 2023-07-18 at 02.11.56](http://forum.squareline.io/uploads/default/original/1X/4c9e9434a146dd9d4bfaa66bbab9401151e38e96.jpeg)

### Others

- **SquareLine Studio version: v1.3.1**
- **Operating system: Linux**
- **Target hardware: ESP32, DGC9A01 Display**

---

<div class="post-metadata">

**Author:** ![Student01HF](http://forum.squareline.io/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@Student01HF](http://forum.squareline.io/u/Student01HF)\
**Post date:** [July 18, 2023, 6:03am UTC](http://forum.squareline.io/t/roller-widget-infinity-bug/1521/2 "2023-07-18T06:03:55Z")

</div>

Hello, if I recall correctly, this has to do with a setting in the LV\_CONF.h file.

Try setting the option `LV_USE_LARGE_COORD` to `1`.

---

<div class="post-metadata">

**Author:** ![hans](http://forum.squareline.io/letter_avatar_proxy/v4/letter/h/e19b73/32.png) [@hans](http://forum.squareline.io/u/hans)\
**Post date:** [July 19, 2023, 12:20pm UTC](http://forum.squareline.io/t/roller-widget-infinity-bug/1521/3 "2023-07-19T12:20:36Z")

</div>

Thanks. That worked.
