Merge pull request #4130 from leptun/fix_sd_menu_click
SD menu do not consume click in _scrolling state
This commit is contained in:
commit
75d0c87d57
|
|
@ -5872,7 +5872,8 @@ void lcd_sdcard_menu()
|
||||||
} break;
|
} break;
|
||||||
case _scrolling: //scrolling filename
|
case _scrolling: //scrolling filename
|
||||||
{
|
{
|
||||||
const bool rewindFlag = lcd_clicked() || lcd_draw_update; //flag that says whether the menu should return to _standard state.
|
// LCD_CLICKED is used so that the click event is later consumed by the _standard state.
|
||||||
|
const bool rewindFlag = LCD_CLICKED || lcd_draw_update; //flag that says whether the menu should return to _standard state.
|
||||||
|
|
||||||
if (_md->scrollPointer == NULL)
|
if (_md->scrollPointer == NULL)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue