From 01b88950bf2fa9b9cbf4cdfb6d9108d946ddbe8c Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Tue, 1 Aug 2023 20:37:57 +0200 Subject: [PATCH] Fix shit. --- Penumbra/UI/ModsTab/ModFileSystemSelector.cs | 24 ++++++++------------ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/Penumbra/UI/ModsTab/ModFileSystemSelector.cs b/Penumbra/UI/ModsTab/ModFileSystemSelector.cs index f3ea815a..6eecf36a 100644 --- a/Penumbra/UI/ModsTab/ModFileSystemSelector.cs +++ b/Penumbra/UI/ModsTab/ModFileSystemSelector.cs @@ -170,24 +170,18 @@ public sealed class ModFileSystemSelector : FileSystemSelector ImGui.GetStyle().ItemSpacing.X) - { - c.Push(ImGuiCol.Text, ColorId.SelectorPriority.Value()); - ImGui.SetCursorPosX(ImGui.GetCursorPosX() + offset); - ImGui.TextUnformatted(priorityString); - } - else - { - ImGui.NewLine(); - } + ImGui.GetWindowDrawList().AddText(new Vector2(itemPos + offset, line), ColorId.SelectorPriority.Value(), priorityString); } }