From 2c5ed82376fc0d0a5137d2cded7f3bd4c4150509 Mon Sep 17 00:00:00 2001 From: Dmitry Zagorodnev Date: Mon, 24 Oct 2022 14:57:31 +0300 Subject: [PATCH] Fix: ImageItem::paint --- limereport/items/lrimageitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limereport/items/lrimageitem.cpp b/limereport/items/lrimageitem.cpp index 00ed897..4958807 100644 --- a/limereport/items/lrimageitem.cpp +++ b/limereport/items/lrimageitem.cpp @@ -364,7 +364,7 @@ void ImageItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, } if (shiftHeight > 0){ - point.setY(point.x()+shiftHeight/2); + point.setY(point.y()+shiftHeight/2); } else { cutY = fabs(shiftHeight/2); cutHeigth += shiftHeight;