From 01d2b0d171d80a8c2950cf06236888bbe8ff4b39 Mon Sep 17 00:00:00 2001 From: Paul Liverman III Date: Sun, 1 May 2016 01:58:03 -0700 Subject: [PATCH] fixed data refstuff in demo --- demo/main-simple.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/main-simple.lua b/demo/main-simple.lua index 8461be4..fe38ab0 100644 --- a/demo/main-simple.lua +++ b/demo/main-simple.lua @@ -12,7 +12,7 @@ function love.load() w2:move(-50, 80) w2:setHeight(500) w2:move(0, -175) - w2.title:align("center") + w2.data.title:align("center") w2:position(0, 0) w2:size(200, 120):position(90, 70) w2:setClose(false) @@ -57,7 +57,7 @@ function love.keypressed(key) if (key == "w") and (not handled) then local w = pop.window() - w.title:align("center") + w.data.title:align("center") end if (key == "p") and (not handled) then