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() clearScreen()
while true do while true do
local _,_,x,y = event.pull( 1, "touch" )
drawDesktop() drawDesktop()
if x < 10 and y < 10 then local id, _, x, y = event.pullMultiple("touch", "interrupted")
numberOfPanels = numberOfPanels + 1 if id == "interrupted" then
elseif x > 10 and Y > 10 then print("soft interrupt, closing")
numberOfPanels = numberOfPanels - 1 goto quit
else elseif id == "touch" then
goto quit goto quit
end end
end end