Mask offset fixed

preferencesAboutTextFull
Ivan Ilin 13 years ago
parent f9b5cc4847
commit 5683ee7a91
  1. 1
      src/adaptors/UBSvgSubsetAdaptor.cpp

@ -2415,6 +2415,7 @@ UBGraphicsCurtainItem* UBSvgSubsetAdaptor::UBSvgSubsetReader::curtainItemFromSvg
QRectF rect = curtainItem->rect(); QRectF rect = curtainItem->rect();
rect.setWidth(svgWidth.toString().toFloat()); rect.setWidth(svgWidth.toString().toFloat());
rect.setHeight(svgHeight.toString().toFloat()); rect.setHeight(svgHeight.toString().toFloat());
rect.translate(-rect.center());
curtainItem->setRect(rect); curtainItem->setRect(rect);

Loading…
Cancel
Save