From 2f895e22b00dd886184825f9aa1cc9d466a6fbb9 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Fri, 4 Oct 2024 16:19:37 +0200 Subject: [PATCH] Fix click handler --- itemcontroller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itemcontroller.lua b/itemcontroller.lua index 56d49f6..0e5f845 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -165,8 +165,8 @@ local PAGES = { table.insert(subset, found[i]) end - local listResult = itemList(subset, state.width, function(group, x, y, source) - print("Clicked: "..group:getDisplayName()) + local listResult = itemList(subset, state.width, function(element, x, y, source) + print("Clicked: "..x.." "..y) end) listResult:setParent(state.monitor)