mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 00:33:02 +03:00
Fix: ImageItem::paint
This commit is contained in:
parent
4903abc408
commit
2c5ed82376
@ -364,7 +364,7 @@ void ImageItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (shiftHeight > 0){
|
if (shiftHeight > 0){
|
||||||
point.setY(point.x()+shiftHeight/2);
|
point.setY(point.y()+shiftHeight/2);
|
||||||
} else {
|
} else {
|
||||||
cutY = fabs(shiftHeight/2);
|
cutY = fabs(shiftHeight/2);
|
||||||
cutHeigth += shiftHeight;
|
cutHeigth += shiftHeight;
|
||||||
|
Loading…
Reference in New Issue
Block a user