mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
fixed data refstuff in demo
This commit is contained in:
parent
bd158e0099
commit
01d2b0d171
@ -12,7 +12,7 @@ function love.load()
|
|||||||
w2:move(-50, 80)
|
w2:move(-50, 80)
|
||||||
w2:setHeight(500)
|
w2:setHeight(500)
|
||||||
w2:move(0, -175)
|
w2:move(0, -175)
|
||||||
w2.title:align("center")
|
w2.data.title:align("center")
|
||||||
w2:position(0, 0)
|
w2:position(0, 0)
|
||||||
w2:size(200, 120):position(90, 70)
|
w2:size(200, 120):position(90, 70)
|
||||||
w2:setClose(false)
|
w2:setClose(false)
|
||||||
@ -57,7 +57,7 @@ function love.keypressed(key)
|
|||||||
|
|
||||||
if (key == "w") and (not handled) then
|
if (key == "w") and (not handled) then
|
||||||
local w = pop.window()
|
local w = pop.window()
|
||||||
w.title:align("center")
|
w.data.title:align("center")
|
||||||
end
|
end
|
||||||
|
|
||||||
if (key == "p") and (not handled) then
|
if (key == "p") and (not handled) then
|
||||||
|
Loading…
Reference in New Issue
Block a user