Bug fixes around interacting with hotbar
- GUI scale is never set, so hotbar offset becomes wrong. - Touching from hotbar to outside and vice versa cause camera to jump randomly.
This commit is contained in:
1 parent
d575ab6626
commit
12f6fcf1b6
3 files changed
+9
-5
No files matched your search
@@ -61,8 +61,8 @@ public class UIKit {
|
||||
int scale = Math.max(Math.min(GLFW.mGLFWWindowWidth / 320, GLFW.mGLFWWindowHeight / 240), 1);
|
||||
if(scale < guiScale || guiScale == 0){
|
||||
guiScale = scale;
|
||||
updateMCGuiScale(guiScale);
|
||||
}
|
||||
updateMCGuiScale(guiScale);
|
||||
}
|
||||
|
||||
public static boolean updateProgressSafe(final float progress, final String message) {
|
||||
|
||||
Reference in new issue
Block a user