Uhh.. derpy on TinyDB Screen, lol.

This commit is contained in:
SuperSaiyajinStackZ
2019-12-22 22:43:00 +01:00
parent 14b93d286e
commit 5284f8c961
+2 -2
View File
@@ -223,7 +223,7 @@ void TinyDB::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
if (Config::viewMode == 0) {
for(int i=0;i<ENTRIES_PER_SCREEN;i++) {
if(touch.py > (i+1)*57 && touch.py < (i+2)*57) {
selection = i;
selection = screenPos + i;
selectedOption = tinyDBList[screenPos + i];
execute();
}
@@ -231,7 +231,7 @@ void TinyDB::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
} else if (Config::viewMode == 1) {
for(int i=0;i<ENTRIES_PER_LIST;i++) {
if(touch.py > (i+1)*27 && touch.py < (i+2)*27) {
selection = i;
selection = screenPosList + i;
selectedOption = tinyDBList[screenPosList + i];
execute();
}