|
@@ -156,7 +156,7 @@ namespace PixiEditor.Models.ImageManipulation
|
|
|
}
|
|
|
int lastCheckedPixelRight = fillXRight - 1;
|
|
|
|
|
|
- int relativeY = coords.Y - layer.OffsetY;
|
|
|
+ int relativeY = coords.Y;
|
|
|
LineTool.CalculateBresenhamLine(new Coordinates(lastCheckedPixelLeft, relativeY), new Coordinates(lastCheckedPixelRight, relativeY), output);
|
|
|
dirtyRect = dirtyRect.Expand(new Int32Rect(lastCheckedPixelLeft, coords.Y, lastCheckedPixelRight - lastCheckedPixelLeft + 1, 1));
|
|
|
|