summaryrefslogtreecommitdiffhomepage
path: root/config/menumain.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/menumain.lua')
-rw-r--r--config/menumain.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/menumain.lua b/config/menumain.lua
index 70666b3..e312b51 100644
--- a/config/menumain.lua
+++ b/config/menumain.lua
@@ -4,7 +4,7 @@ local button = require "button"
local header = require "header"
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
return {
@@ -25,8 +25,8 @@ return {
button:new(menu)
:setText("Settings")
:setPosition(bx, 112)
- :set("isEnabled", function (self)
- return false
+ :set("active", function (self)
+ self.parent:load("menusettings")
end)
,
button:new(menu)