diff --git a/requests.lua b/requests.lua index 2122676..df1cbc7 100644 --- a/requests.lua +++ b/requests.lua @@ -94,7 +94,7 @@ end local function onTouch(self, touch_x, touch_y) local tw, th = self.window.getSize() if touch_x > tw-5 then - local obj = listview.itemAt(touch_y) + local obj = listview.itemAt(touch_y+self.scrollPos-1) if obj ~= nil and obj.answer ~= nil then if permset.has(allowed_items, obj.answer.name) then permset.remove(allowed_items, obj.answer.name)