aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-01-25 18:40:17 +0900
committersyeyoung <cyoung06@naver.com>2023-01-25 18:40:17 +0900
commit7483d19f603790bf565fa65519d530cca6e6c144 (patch)
treeb9d76dd293826a475fce9afd71ef25d7ff72e3d1
parent93115f34f8b91a6bec0ec4f32d8fddc610d930e6 (diff)
downloadSkyblock-Dungeons-Guide-7483d19f603790bf565fa65519d530cca6e6c144.tar.gz
Skyblock-Dungeons-Guide-7483d19f603790bf565fa65519d530cca6e6c144.tar.bz2
Skyblock-Dungeons-Guide-7483d19f603790bf565fa65519d530cca6e6c144.zip
- no more scale :)
Signed-off-by: syeyoung <cyoung06@naver.com>
-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;
});
}