Explorar el Código

fix Geometry.Parse create PathGeometry

Andrey Kunchev hace 6 años
padre
commit
15700ea042
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Avalonia.Visuals/Media/Geometry.cs

+ 1 - 1
src/Avalonia.Visuals/Media/Geometry.cs

@@ -74,7 +74,7 @@ namespace Avalonia.Media
         /// </summary>
         /// <param name="s">The string.</param>
         /// <returns>A <see cref="StreamGeometry"/>.</returns>
-        public static Geometry Parse(string s) => StreamGeometry.Parse(s);
+        public static Geometry Parse(string s) => PathGeometry.Parse(s);
 
         /// <summary>
         /// Clones the geometry.