From c5e7ef855edfc47f713b69ae3980418aff6ad37e Mon Sep 17 00:00:00 2001 From: Yvonne Schmidt Date: Tue, 26 Nov 2024 00:25:31 +0100 Subject: [PATCH] fixed background location --- .../src/main/java/pp/monopoly/client/gui/ChoosePartner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/ChoosePartner.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/ChoosePartner.java index f908a0c..e663b56 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/ChoosePartner.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/ChoosePartner.java @@ -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); }