remove unused

This commit is contained in:
Infi
2024-05-25 08:49:53 +02:00
parent b6cc85b2af
commit 624bcd3610
-8
View File
@@ -7,7 +7,6 @@ using Dalamud.Interface.ImGuiNotification;
using Dalamud.Interface.Internal.Notifications;
using Dalamud.Interface.Utility;
using Dalamud.Interface.Utility.Raii;
using Dalamud.Memory.Exceptions;
using Dalamud.Utility;
using ImGuiNET;
@@ -269,11 +268,4 @@ public static class DateWidget
var l = (textColor.X + textColor.Y + textColor.Z) * 0.33334f;
return new Vector4(l * 2.0f > 1 ? 1 : l * 2.0f, l * .5f, l * .5f, textColor.W);
}
private static string Center(string source, int length)
{
var spaces = length - source.Length;
var padLeft = spaces / 2 + source.Length;
return source.PadLeft(padLeft).PadRight(length);
}
}