aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/test.lua
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-10-11 11:28:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-11 11:28:07 -0700
commit18ea777638f1494b068ba4ca1a5d6725a0e80cf1 (patch)
tree5008c512d24cd5ea270799603371fe3b50b8057b /resources/test.lua
parent09445a4f7fe6c8cd8cfe172ce160af7007738490 (diff)
allow for lua click handlers
BUG=skia: TBR= Review URL: https://codereview.chromium.org/649013002
Diffstat (limited to 'resources/test.lua')
-rw-r--r--resources/test.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/test.lua b/resources/test.lua
index 84d3517ae6..1029db41ed 100644
--- a/resources/test.lua
+++ b/resources/test.lua
@@ -69,6 +69,8 @@ function onDrawContent(canvas)
r2.bottom = r2.top + image:height() * 1;
canvas:drawImageRect(image, nil, r2, 0.75);
if x > 200 then x = 0 end;
+
+ return true -- so we can animate
end
onStartup()