Fix click handler

This commit is contained in:
Gabriel Tofvesson 2024-10-04 16:19:37 +02:00
parent d9f9add3c2
commit 2f895e22b0

View File

@ -165,8 +165,8 @@ local PAGES = {
table.insert(subset, found[i]) table.insert(subset, found[i])
end end
local listResult = itemList(subset, state.width, function(group, x, y, source) local listResult = itemList(subset, state.width, function(element, x, y, source)
print("Clicked: "..group:getDisplayName()) print("Clicked: "..x.." "..y)
end) end)
listResult:setParent(state.monitor) listResult:setParent(state.monitor)