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)