mirror of https://github.com/adamdruppe/arsd.git
Fix refucktoring regression
This commit is contained in:
parent
9418cbaa24
commit
33cd84552b
|
@ -369,7 +369,7 @@ struct SubPixmap {
|
||||||
(`Point(O, 0)` is the top left corner of the source image.)
|
(`Point(O, 0)` is the top left corner of the source image.)
|
||||||
+/
|
+/
|
||||||
Point sourceOffsetEnd() const {
|
Point sourceOffsetEnd() const {
|
||||||
auto vec = Point(size.x, (size.y - 1));
|
auto vec = Point(size.width, (size.height - 1));
|
||||||
return (offset + vec);
|
return (offset + vec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue