impr: Better centering of icons in icon buttons

This commit is contained in:
WerWolv
2023-12-14 13:49:46 +01:00
parent 003f9619c3
commit 2ebd3c6f35
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ namespace hex::plugin::builtin {
* efficient when packing the glyphs into the font atlas and therefor make the atlas much smaller.
*/
ImHexApi::Fonts::loadFont("Blender Icons", romfs::get("fonts/blendericons.ttf").span<u8>(),{ { ICON_MIN_BI, ICON_MAX_BI } }, { 0, -3_scaled });
ImHexApi::Fonts::loadFont("Blender Icons", romfs::get("fonts/blendericons.ttf").span<u8>(),{ { ICON_MIN_BI, ICON_MAX_BI } }, { -1_scaled, -1_scaled });
ImHexApi::Fonts::loadFont("VS Codicons", romfs::get("fonts/codicons.ttf").span<u8>(),
{