mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-11-28 23:39:45 +01:00
fixed background location
This commit is contained in:
parent
170227c97f
commit
c5e7ef855e
@ -156,7 +156,7 @@ public class ChoosePartner extends Dialog {
|
||||
Material backgroundMaterial = new Material(app.getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md");
|
||||
backgroundMaterial.setTexture("ColorMap", backgroundImage);
|
||||
background.setMaterial(backgroundMaterial);
|
||||
background.setLocalTranslation(0, 0, -1); // Position behind other GUI elements
|
||||
background.setLocalTranslation(0, 0, 1); // Position behind other GUI elements
|
||||
app.getGuiNode().attachChild(background);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user