Browse Source

Fixed build error

CPKreuz 4 years ago
parent
commit
909e8eee40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      PixiEditor/Models/Tools/Tools/PenTool.cs

+ 1 - 1
PixiEditor/Models/Tools/Tools/PenTool.cs

@@ -92,7 +92,7 @@ namespace PixiEditor.Models.Tools.Tools
                 return changes;
             }
 
-            changedPixelsindex += changedPixelsindex >= 2 ? 0 : 1;
+            changedPixelsindex += changedPixelsindex >= 2 ? (byte)0 : (byte)1;
 
             var result = BitmapPixelChanges.FromSingleColoredArray(GetThickShape(latestPixels, toolSize), color);