aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--label.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/label.lua b/label.lua
index 62b3950..c84d08e 100644
--- a/label.lua
+++ b/label.lua
@@ -53,7 +53,7 @@ return function(w)
keyboard.clearFocus()
end
- core.registerDraw(id, draw or core.style.Label,
+ core.registerDraw(id, w.draw or core.style.Label,
w.text, w.align, pos[1],pos[2], size[1],size[2])
return mouse.releasedOn(id)