Pārlūkot izejas kodu

Merge conflict fix

Krzysztof Krysiński 2 gadi atpakaļ
vecāks
revīzija
4d6aef03b2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);