diff --git a/Projekte/mdga/client/src/main/java/pp/mdga/client/dialog/InterruptDialog.java b/Projekte/mdga/client/src/main/java/pp/mdga/client/dialog/InterruptDialog.java index 1fb4f4b4..201ac65f 100644 --- a/Projekte/mdga/client/src/main/java/pp/mdga/client/dialog/InterruptDialog.java +++ b/Projekte/mdga/client/src/main/java/pp/mdga/client/dialog/InterruptDialog.java @@ -31,12 +31,6 @@ public InterruptDialog(MdgaApp app, Node node) { super(app, node); forceButton = new ButtonRight(app, node, () -> app.getModelSynchronize().force(), "Erzwingen", 1); - - label = new LabelButton(app, node, "Warte auf " + text + "...", new Vector2f(5.5f * 1.5f, 2), new Vector2f(0.5f, 0f), false); - - float offset = 2.8f; - - label.setPos(new Vector2f(0, MenuButton.VERTICAL - offset)); } /** @@ -49,6 +43,11 @@ protected void onShow() { forceButton.show(); } + label = new LabelButton(app, node, "Warte auf " + text + "...", new Vector2f(5.5f * 1.5f, 2), new Vector2f(0.5f, 0f), false); + + float offset = 2.8f; + label.setPos(new Vector2f(0, MenuButton.VERTICAL - offset)); + label.show(); }