From 5284f8c96162de3268d68bfa28ece6f01190e9e3 Mon Sep 17 00:00:00 2001 From: SuperSaiyajinStackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com> Date: Sun, 22 Dec 2019 22:43:00 +0100 Subject: [PATCH] Uhh.. derpy on TinyDB Screen, lol. --- source/screens/tinyDB.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/screens/tinyDB.cpp b/source/screens/tinyDB.cpp index 68a5fba..ba149f9 100644 --- a/source/screens/tinyDB.cpp +++ b/source/screens/tinyDB.cpp @@ -223,7 +223,7 @@ void TinyDB::Logic(u32 hDown, u32 hHeld, touchPosition touch) { if (Config::viewMode == 0) { for(int i=0;i (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 (i+1)*27 && touch.py < (i+2)*27) { - selection = i; + selection = screenPosList + i; selectedOption = tinyDBList[screenPosList + i]; execute(); }