
[Fabric 0.14.24/1.20.1/1.7.1] Abnormal Default HUD Position and Scale
kurisubrooks opened this issue ยท 8 comments
I'm not sure if this is a bug specifically since there are options in the config file to be able to manually change the X/Y offset, but it's my assumption that perhaps this isn't the intended default behaviour, so I'll be reporting this as a bug.
Upon installing the mod and using it for the first time with the BigChadGuys Plus 1.1.6 modpack, the location of the SeasonHUD is both abnormally small and in a very strange spot (top-middle of screen). Screenshot below:
Applicable versions and mods:
- Fabric 0.14.24
- Minecraft 1.20.1
- JourneyMap 5.9.18
- FTBChunks 2001.2.4
- SeasonHUD Fabric 1.7.1
System information:
- OS: macOS Sonoma 14.0
- CPU: Apple M1 Pro
- Java 17 (Zulu JDK)
Client Log: https://mclo.gs/kcgS8n9
The scale is likely correct, the 1x scale on Journeymap is shockingly small. I couldn't replicate the position issue on Windows though, and don't have a Mac to test on.
I rewrote most of the Journeymap code, to try and fix it. I uploaded a preview version here if you can test it out and see if it's any better:
Using this new pre-release version, unfortunately the issue appears to be unchanged. Your comments however did give me a thought though, which I have now confirmed.
This appears to be related to macOS HiDPI scaling. Macs generally use very high resolution + high pixel density "Retina" displays, so the default scale according to the OS is higher than the 1x of a standard 1080p Windows device counterpart.
Iris has this setting which lets me half the resolution of the game to get around this, which let me easily test this below.
(macOS - 2x scaling - default)
(macOS - 1x scaling? "halved resolution")
Might be a change as simple as checking for the display resolution scale and then halving the scale/coords? Not sure how this would be handled in Java, especially with Minecraft. Sorry that I can't help further but hopefully this has been helpful.
I made some more may have fixed it, and it is the version 1.7.2 just uploaded to Curseforge/Modrinth. If not, there is a function to detect if someone is using OSX, so I could take a look and see what I need to half to correct the scaling, and create a toggle.
Yeah I was planning on making that a toggleable option, since there is a limited number of slots showable, but I haven't been able to get it to display the custom font for the icons yet.
I added a quick option in the settings menu (default H key) / config to change the math to be 1/2 the screen resolution. I think that is correct, since the opposite made it look similar to yours when I tried it.