scenes/mainmenu: fix menu size and position

This commit is contained in:
Kazhnuz 2019-02-28 21:53:29 +01:00
parent 4837de72cc
commit abfb76cc78
1 changed files with 3 additions and 3 deletions

View File

@ -5,10 +5,10 @@ local Widgets = require "scenes.debugmenu.widgets"
function MenuObject:new(scene, name)
local height, width, x, y
height = 240 - 88 - 16
height = 240 - 88 - 24
width = 240
x = 88
y = 240/2 - height/2
x = 424/2 - width/2
y = 240/2 - height/2 - 8
MenuObject.super.new(self, scene.menusystem, name, x, y, width, height, 5)
self.scene = scene