Browse Source

Merge conflict fix

Krzysztof Krysiński 2 years ago
parent
commit
4d6aef03b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ChunkyImageLib/Operations/PixelOperation.cs

+ 1 - 1
src/ChunkyImageLib/Operations/PixelOperation.cs

@@ -68,7 +68,7 @@ internal class PixelOperation : IMirroredDrawOperation
         if (verAxisX is not null)
         if (verAxisX is not null)
             pixelRect = (RectI)pixelRect.ReflectX((double)verAxisX).Round();
             pixelRect = (RectI)pixelRect.ReflectX((double)verAxisX).Round();
         if (horAxisY is not null)
         if (horAxisY is not null)
-            pixelRect = pixelRect.ReflectY((int)horAxisY);
+            pixelRect = (RectI)pixelRect.ReflectY((double)horAxisY);
         if (_colorProcessor != null)
         if (_colorProcessor != null)
         {
         {
             return new PixelOperation(pixelRect.Pos, _colorProcessor, blendMode);
             return new PixelOperation(pixelRect.Pos, _colorProcessor, blendMode);