Jomelo / LCDMenuLib2

Create a tree menu. Use it with different lcd types / console output / ssh console.
MIT License
251 stars 48 forks source link

Rollover Bug #46

Closed canghaiwuhen closed 4 years ago

canghaiwuhen commented 5 years ago

I used 1.3 is OK, but 2.0 and 2.1 found a question. My tft can display 16 rows, my menu only used 9, the menu can't rollover. I debug it and changed LCDMenuLib2.cpp if(bitRead(REG_control, _LCDML_REG_control_rollover) && rollover == true && child_cnt > window_rows) to if(bitRead(REG_control, _LCDML_REG_control_rollover) && rollover == true) It works~

Jomelo commented 5 years ago

Thanks for reporting the bug. I will fix the bug with the next version.

canghaiwuhen commented 5 years ago

Thanks for reporting the bug. I will fix the bug with the next version.

Thanks!