scenes/mainmenu: fix menu size and position
This commit is contained in:
parent
4837de72cc
commit
abfb76cc78
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue