Small adjustment of the physical image placement on the miximage.

This commit is contained in:
Leon Styhre 2021-10-31 09:47:05 +01:00
parent 1e5efc251a
commit 488db7b5f7

View file

@ -605,7 +605,7 @@ bool MiximageGenerator::generateImage()
Utils::CImg::addDropShadow(physicalMediaImage, physicalMediaShadowSize, 0.6f, 4); Utils::CImg::addDropShadow(physicalMediaImage, physicalMediaShadowSize, 0.6f, 4);
// Place it to the right of the 3D box or cover with a small margin in between. // Place it to the right of the 3D box or cover with a small margin in between.
xPosPhysicalMedia = xPosBox + boxImage.width() + 12 * resolutionMultiplier; xPosPhysicalMedia = xPosBox + boxImage.width() + 16 * resolutionMultiplier;
yPosPhysicalMedia = canvasImage.height() - physicalMediaImage.height(); yPosPhysicalMedia = canvasImage.height() - physicalMediaImage.height();
// Only RGB channels for the image. // Only RGB channels for the image.