aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/widget/WidgetProfileViewerData.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/widget/WidgetProfileViewerData.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/widget/WidgetProfileViewerData.java
index 3a3ca61d..13f9676f 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/widget/WidgetProfileViewerData.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/widget/WidgetProfileViewerData.java
@@ -110,12 +110,9 @@ public class WidgetProfileViewerData extends AnnotatedWidget {
if (popup == null) {
PopupMgr popupMgr = PopupMgr.getPopupMgr(getDomElement());
- Scaler scaler = new Scaler();
- scaler.scale.setValue((double) new ScaledResolution(Minecraft.getMinecraft()).getScaleFactor());
- scaler.child.setValue(new WidgetPlayerInventory(
+ popupMgr.openPopup(popup = new AbsLocationPopup(x, y, new WidgetPlayerInventory(
playerSkyblockData.getPlayerProfiles()[idx]
- ));
- popupMgr.openPopup(popup = new AbsLocationPopup(x, y, scaler, true), (a) -> {
+ ), true), (a) -> {
this.popup = null;
});
}