diff --git a/text.lua b/text.lua index 13b7d7b..e6c6249 100644 --- a/text.lua +++ b/text.lua @@ -34,7 +34,7 @@ function Text:draw() local w, h = self.size:coords() local oy = 0 if self.align == "center" then - oy = -h / 2 - fontsize / 2 + oy = -h / 2 + fontsize / 2 end love.graphics.printf(self.text, x, y, w, self.align, 0, 1, 1, 0, oy ) end