From 624bcd3610f05b05ab98cfa540cad11eae4e2489 Mon Sep 17 00:00:00 2001 From: Infi Date: Sat, 25 May 2024 08:49:53 +0200 Subject: [PATCH] remove unused --- ChatTwo/Util/DatePicker.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ChatTwo/Util/DatePicker.cs b/ChatTwo/Util/DatePicker.cs index afcbbd2..4d59c42 100644 --- a/ChatTwo/Util/DatePicker.cs +++ b/ChatTwo/Util/DatePicker.cs @@ -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); - } } \ No newline at end of file