scenes/mainmenu: center option menu
This commit is contained in:
parent
f49773823f
commit
5e251fceed
|
@ -8,7 +8,7 @@ function MenuObject:new(scene, name)
|
|||
height = screenheight - (88 + 24)
|
||||
width = 240
|
||||
x = screenwidth/2 - width/2
|
||||
y = screenheight/2 - height/2 - 8
|
||||
y = screenheight/2 - height/2 + 8
|
||||
|
||||
MenuObject.super.new(self, scene.menusystem, name, x, y, width, height, 5)
|
||||
self.scene = scene
|
||||
|
|
Loading…
Reference in New Issue