From f234a6850997fc98ac2e1b3e18c783c8fe51d2af Mon Sep 17 00:00:00 2001 From: claria-tan <76979317+claria-tan@users.noreply.github.com> Date: Thu, 5 Feb 2026 18:25:51 -0800 Subject: [PATCH] allow periods in directory paths please --- Snowcloak/UI/UISharedService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snowcloak/UI/UISharedService.cs b/Snowcloak/UI/UISharedService.cs index 0440e12..06728e3 100644 --- a/Snowcloak/UI/UISharedService.cs +++ b/Snowcloak/UI/UISharedService.cs @@ -1013,7 +1013,7 @@ private static void CenterWindow(float width, float height, ImGuiCond cond = ImG ImGui.SetWindowPos(new Vector2(center.X - width / 2, center.Y - height / 2), cond); } - [GeneratedRegex(@"^(?:[a-zA-Z]:\\[\w\s\-\\]+?|\/(?:[\w\s\-\/])+?)$", RegexOptions.ECMAScript, 5000)] + [GeneratedRegex(@"^(?:[a-zA-Z]:\\[\w\s\-\\]+?|\/(?:[\w\s\-\/.])+?)$", RegexOptions.ECMAScript, 5000)] private static partial Regex PathRegex(); private void FontText(string text, IFontHandle font, Vector4? color = null)