aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-01-13 13:14:32 +0900
committersyeyoung <cyoung06@naver.com>2023-01-13 13:14:32 +0900
commitdf33e015ade0be0df3d9ab1e242606dbdc7229ea (patch)
tree09f746604f4fa8cc32e74cabe22331838ad9d367 /mod
parent87df9a914624b295e3e93db621ed2a8256eaf846 (diff)
downloadSkyblock-Dungeons-Guide-df33e015ade0be0df3d9ab1e242606dbdc7229ea.tar.gz
Skyblock-Dungeons-Guide-df33e015ade0be0df3d9ab1e242606dbdc7229ea.tar.bz2
Skyblock-Dungeons-Guide-df33e015ade0be0df3d9ab1e242606dbdc7229ea.zip
- a little update to gui screen adapter
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/GuiScreenAdapter.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/GuiScreenAdapter.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/GuiScreenAdapter.java
index 438431e4..fd06f973 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/GuiScreenAdapter.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/guiv2/GuiScreenAdapter.java
@@ -82,17 +82,14 @@ public class GuiScreenAdapter extends GuiScreen {
int j = this.mc.displayHeight - Mouse.getEventY();
if (view.isRelayoutRequested()) {
- long start = System.nanoTime();
view.setRelayoutRequested(false);
- System.out.println("relayout!");
view.getLayouter().layout(view, new ConstraintBox(
Minecraft.getMinecraft().displayWidth,
Minecraft.getMinecraft().displayWidth,
Minecraft.getMinecraft().displayHeight,
Minecraft.getMinecraft().displayHeight
));
- System.out.println("Relayout took "+(System.nanoTime() - start) +"ns");
}
@@ -278,7 +275,7 @@ public class GuiScreenAdapter extends GuiScreen {
@Override
public void handleInput() throws IOException {
-// Keyboard.enableRepeatEvents(true); // i hope it's temproary solution
+ Keyboard.enableRepeatEvents(true); // i hope it's temproary solution NEU Incompat. ?
super.handleInput();
}
}