Hurensohn commit 2
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user