scenes/mainmenu: center option menu

This commit is contained in:
Kazhnuz 2019-03-09 22:08:54 +01:00
parent f49773823f
commit 5e251fceed
1 changed files with 1 additions and 1 deletions

View File

@ -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