adapted image transformation when setting an image as a background

preferencesAboutTextFull
Clément Fauconnier 7 years ago
parent c6c0120aab
commit 7ba25e9d5e
  1. 2
      src/domain/UBGraphicsItemDelegate.cpp

@ -618,7 +618,7 @@ void UBGraphicsItemDelegate::setAsBackground()
item->resetTransform();
item->setPos(item->sceneBoundingRect().width()/-2., item->sceneBoundingRect().height()/-2.);
scene->setAsBackgroundObject(item);
scene->setAsBackgroundObject(item, true);
UBGraphicsItemTransformUndoCommand *uc =
new UBGraphicsItemTransformUndoCommand(mDelegated,

Loading…
Cancel
Save