ui adjustments

This commit is contained in:
Stanley Dimant
2022-10-02 20:32:35 +02:00
parent 8bad3fd91c
commit fd23a977ac
3 changed files with 130 additions and 103 deletions

View File

@@ -548,7 +548,7 @@ public class UiShared : IDisposable
DrawHelpText("This allows you to stop the periodic scans of your Penumbra and Mare cache directories. Use this to move the Mare cache and Penumbra mod folders around. If you enable this permanently, run a Force rescan after adding mods to Penumbra.");
}
private static Vector2 GetIconSize(FontAwesomeIcon icon)
public static Vector2 GetIconSize(FontAwesomeIcon icon)
{
ImGui.PushFont(UiBuilder.IconFont);
var iconSize = ImGui.CalcTextSize(icon.ToIconString());