From 33cd84552b179acf5fc430a0e1b951a6ed12746d Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Sun, 6 Oct 2024 01:43:20 +0200 Subject: [PATCH] Fix refucktoring regression --- pixmappaint.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixmappaint.d b/pixmappaint.d index 3aaea4f..7b0a4a4 100644 --- a/pixmappaint.d +++ b/pixmappaint.d @@ -369,7 +369,7 @@ struct SubPixmap { (`Point(O, 0)` is the top left corner of the source image.) +/ Point sourceOffsetEnd() const { - auto vec = Point(size.x, (size.y - 1)); + auto vec = Point(size.width, (size.height - 1)); return (offset + vec); }