summaryrefslogtreecommitdiffhomepage
path: root/config/menuselect.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-10-06 14:43:11 +0200
committerAki <nthirtyone@gmail.com>2016-10-06 14:43:11 +0200
commit35262a7245bcd9ebf937d07ab3326655d96e5d2e (patch)
tree8c0edb0e58712dbc661d84cd988f6d2a82cb2e14 /config/menuselect.lua
parent9f1854ed3365eacec0b49017d619eb02ab0f52fb (diff)
downloadroflnauts-35262a7245bcd9ebf937d07ab3326655d96e5d2e.zip
roflnauts-35262a7245bcd9ebf937d07ab3326655d96e5d2e.tar.gz
roflnauts-35262a7245bcd9ebf937d07ab3326655d96e5d2e.tar.bz2
Fixed scaling of fullscreen menu in different ratios
Diffstat (limited to 'config/menuselect.lua')
-rw-r--r--config/menuselect.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/menuselect.lua b/config/menuselect.lua
index c79396c..19f46ab 100644
--- a/config/menuselect.lua
+++ b/config/menuselect.lua
@@ -4,7 +4,7 @@ local button = require "button"
local selector = require "selector"
local element = require "element"
-local width, height = love.graphics.getWidth()/getRealScale(), love.graphics.getHeight()/getRealScale()
+local width, height = love.graphics.getWidth()/getScale(), love.graphics.getHeight()/getScale()
local bx = width/2-29
local naut_selector = selector:new(menu)