Răsfoiți Sursa

Merge pull request #840 from PixiEditor/fixes/19.03

Fixes/19.03
Krzysztof Krysiński 4 luni în urmă
părinte
comite
3b82edf6a9

+ 1 - 1
src/PixiEditor.UpdateInstaller.Exe/PixiEditor.UpdateInstaller.Exe.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <OutputType>Exe</OutputType>
+    <OutputType>WinExe</OutputType>
     <TargetFramework>net8.0</TargetFramework>
     <ImplicitUsings>enable</ImplicitUsings>
     <Nullable>enable</Nullable>

+ 1 - 1
src/PixiEditor/Views/Overlays/PathOverlay/VectorPathOverlay.cs

@@ -409,7 +409,7 @@ public class VectorPathOverlay : Overlay
             anchor.OnRelease += OnHandleRelease;
             anchor.OnTap += OnHandleTap;
             AddHandle(anchor);
-            SnappingController.AddXYAxis($"editingPath[{atIndex}]", () =>
+            SnappingController?.AddXYAxis($"editingPath[{atIndex}]", () =>
             {
                 var subs = editableVectorPath.GetSubShapeContainingIndex(atIndex);
                 int localIndex = editableVectorPath.GetSubShapePointIndex(atIndex, subs);