mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-18 20:36:17 +01:00
resolved popup overlap
This commit is contained in:
parent
3e14a2674f
commit
eeaf29a646
@ -125,13 +125,13 @@ public class BuyHouse extends Dialog {
|
||||
buyHouseContainer.setLocalTranslation(
|
||||
(app.getCamera().getWidth() - buyHouseContainer.getPreferredSize().x) / 2,
|
||||
(app.getCamera().getHeight() + buyHouseContainer.getPreferredSize().y) / 2,
|
||||
8
|
||||
9
|
||||
);
|
||||
|
||||
backgroundContainer.setLocalTranslation(
|
||||
(app.getCamera().getWidth() - buyHouseContainer.getPreferredSize().x - padding) / 2,
|
||||
(app.getCamera().getHeight() + buyHouseContainer.getPreferredSize().y + padding) / 2,
|
||||
7
|
||||
8
|
||||
);
|
||||
|
||||
app.getGuiNode().attachChild(buyHouseContainer);
|
||||
|
Loading…
Reference in New Issue
Block a user