diff --git a/build.gradle b/build.gradle index 7c72b04..e2e8960 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,4 @@ -//version: 1675164841 +//version: 1675173326 /* DO NOT CHANGE THIS FILE! Also, you may replace this file at any time if there is an update available. @@ -743,6 +743,7 @@ idea { module { downloadJavadoc = true downloadSources = true + inheritOutputDirs = true } project { settings { diff --git a/dependencies.gradle b/dependencies.gradle index 8df8983..6a8c59b 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -36,6 +36,8 @@ dependencies { runtimeOnly("com.github.GTNewHorizons:MrTJPCore:1.1.4:dev") runtimeOnly("com.github.GTNewHorizons:ForgeMultipart:1.3.1:dev") runtimeOnly("com.github.GTNewHorizons:ForgeRelocation:0.0.3:dev") + runtimeOnly("com.github.GTNewHorizons:inventory-tweaks:1.5.15:dev") + runtimeOnly("com.github.GTNewHorizons:MouseTweaks:2.4.7-GTNH:dev") reobfJarConfiguration group: 'curse.maven', name: 'cofh-core-69162', version: '2388750' runtimeOnly("com.github.GTNewHorizons:AppleCore:3.2.6-pre:dev") } diff --git a/src/main/java/org/lwjglx/opengl/Display.java b/src/main/java/org/lwjglx/opengl/Display.java index eac11bf..3d06a10 100644 --- a/src/main/java/org/lwjglx/opengl/Display.java +++ b/src/main/java/org/lwjglx/opengl/Display.java @@ -121,7 +121,9 @@ public class Display { glfwWindowHint(GLFW_MAXIMIZED, Config.WINDOW_START_MAXIMIZED ? GLFW_TRUE : GLFW_FALSE); glfwWindowHint(GLFW_FOCUSED, Config.WINDOW_START_FOCUSED ? GLFW_TRUE : GLFW_FALSE); + displayFocused = Config.WINDOW_START_FOCUSED; glfwWindowHint(GLFW_ICONIFIED, Config.WINDOW_START_ICONIFIED ? GLFW_TRUE : GLFW_FALSE); + displayVisible = !Config.WINDOW_START_ICONIFIED; glfwWindowHint(GLFW_DECORATED, Config.WINDOW_DECORATED ? GLFW_TRUE : GLFW_FALSE); glfwWindowHint(GLFW_SRGB_CAPABLE, Config.OPENGL_SRGB_CONTEXT ? GLFW_TRUE : GLFW_FALSE); @@ -183,14 +185,14 @@ public class Display { Window.windowFocusCallback = new GLFWWindowFocusCallback() { @Override public void invoke(long window, boolean focused) { - displayFocused = focused == true; + displayFocused = focused; } }; Window.windowIconifyCallback = new GLFWWindowIconifyCallback() { @Override public void invoke(long window, boolean iconified) { - displayVisible = iconified == false; + displayVisible = !iconified; } };