Fix buttons hiding behind catalog screen.

This commit is contained in:
Loudrob 2015-07-12 13:44:01 -04:00
parent cb9b4f8d09
commit c8919bf0aa

View file

@ -33,6 +33,7 @@ class CatalogScreen(DirectFrame):
def __init__(self, parent = aspect2d, **kw): def __init__(self, parent = aspect2d, **kw):
guiItems = loader.loadModel('phase_5.5/models/gui/catalog_gui') guiItems = loader.loadModel('phase_5.5/models/gui/catalog_gui')
background = guiItems.find('**/catalog_background') background = guiItems.find('**/catalog_background')
background.setBin("background", 10)
guiButton = loader.loadModel('phase_3/models/gui/quit_button') guiButton = loader.loadModel('phase_3/models/gui/quit_button')
guiBack = loader.loadModel('phase_5.5/models/gui/package_delivery_panel') guiBack = loader.loadModel('phase_5.5/models/gui/package_delivery_panel')
optiondefs = (('scale', 0.667, None), optiondefs = (('scale', 0.667, None),