Do not remove current selection if Special Menu is enabled, so items can be tapped multiple times.
This commit is contained in:
@@ -1030,9 +1030,13 @@
|
|||||||
|
|
||||||
void AnycubicTouchscreenClass::RenderCurrentFileList() {
|
void AnycubicTouchscreenClass::RenderCurrentFileList() {
|
||||||
uint16_t selectedNumber = 0;
|
uint16_t selectedNumber = 0;
|
||||||
currentTouchscreenSelection[0] = 0;
|
|
||||||
currentFileOrDirectory[0] = 0;
|
|
||||||
FileList currentFileList;
|
FileList currentFileList;
|
||||||
|
currentFileOrDirectory[0] = 0;
|
||||||
|
|
||||||
|
if (SpecialMenu == false) {
|
||||||
|
currentTouchscreenSelection[0] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SENDLINE_PGM("FN "); // Filelist start
|
SENDLINE_PGM("FN "); // Filelist start
|
||||||
|
|
||||||
@@ -1894,8 +1898,9 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (SpecialMenu == false)
|
if (SpecialMenu == false) {
|
||||||
currentTouchscreenSelection[0] = 0;
|
currentTouchscreenSelection[0] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
#endif // ifdef SDSUPPORT
|
#endif // ifdef SDSUPPORT
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user