Hurensohn commit 2

This commit is contained in:
2024-02-22 23:23:15 +01:00
parent 0847726da3
commit b9dff29b54

View File

@@ -154,13 +154,12 @@ os.sleep(1)
clearScreen()
while true do
local _,_,x,y = event.pull( 1, "touch" )
drawDesktop()
if x < 10 and y < 10 then
numberOfPanels = numberOfPanels + 1
elseif x > 10 and Y > 10 then
numberOfPanels = numberOfPanels - 1
else
local id, _, x, y = event.pullMultiple("touch", "interrupted")
if id == "interrupted" then
print("soft interrupt, closing")
goto quit
elseif id == "touch" then
goto quit
end
end