Simple patch to fix some font-related issues
Changes:
- Added check to make sure font was loaded properly before making it accessible to code
- Added user-definable glyph ranges to font config
This is a minor update with numerous internal fixes. There's only one developer-facing change, that being an update to the json schema used to define styles. That's the only reason this isn't just a patch version; there have been no API changes.
Changes:
- Fixed an issue where the mouse would get improperly locked in a dockspace app if the viewport wasn't visble
- Updated the default style to be more readable
- Changed the style schema to make a bit more sense
- If an app throws an exception, it no longer crashes ImGui along with it, allowing Minecraft to write a proper crash log. (Note that it's still possible to crash ImGui; it just happens less often.)
- Fixed an issue in 1.21.4 where the mouse would appear in the wrong place when unlocked in a dockspace app
- Created an extremely barebones icon to replace the generated one
Full Changelog: https://github.com/Igrium/CraftUI/compare/0.3.0...0.4.0
Ah screw it, I'm removing the alpha tag now because I'm putting it on Modrinth.
I've cleaned things up significantly internally and added a number of new features:
- Added file browser test button to settings app
- Made settings accessible without modmenu
- Added layout presets and multi-workspace layout system
- Added style switching system
- Various internal reorganization and cleanup
This build is not backwards-compatible, but that shouldn't matter because no-one's using this yet.
Full Changelog: https://github.com/Igrium/CraftUI/compare/0.2.1...0.3.0

