diff options
author | Aki <nthirtyone@gmail.com> | 2016-10-06 14:43:11 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-10-06 14:43:11 +0200 |
commit | 35262a7245bcd9ebf937d07ab3326655d96e5d2e (patch) | |
tree | 8c0edb0e58712dbc661d84cd988f6d2a82cb2e14 /menu.lua | |
parent | 9f1854ed3365eacec0b49017d619eb02ab0f52fb (diff) | |
download | roflnauts-35262a7245bcd9ebf937d07ab3326655d96e5d2e.zip roflnauts-35262a7245bcd9ebf937d07ab3326655d96e5d2e.tar.gz roflnauts-35262a7245bcd9ebf937d07ab3326655d96e5d2e.tar.bz2 |
Fixed scaling of fullscreen menu in different ratios
Diffstat (limited to 'menu.lua')
-rw-r--r-- | menu.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +86,7 @@ function Menu:update(dt) end function Menu:draw() local scale = self.scale - love.graphics.draw(self.background, 0, 0, 0, scale, scale) + love.graphics.draw(self.background, 0, 0, 0, getRealScale(), getRealScale()) love.graphics.setFont(Font) for _,element in pairs(self.elements) do element:draw(scale) |