Code

fix pasting style after copying a text span
[inkscape.git] / src / sp-item-transform.cpp
index 90f84ae0aa0296efd4490d654ba673dffa145691..23c0bdf33bd0cc544c172ed8f0c335c6343a5785 100644 (file)
@@ -32,6 +32,7 @@ sp_item_rotate_rel(SPItem *item, Geom::Rotate const &rotation)
     // Restore the center position (it's changed because the bbox center changed)
     if (item->isCenterSet()) {
         item->setCenter(center * affine);
+        item->updateRepr();
     }
 }
 
@@ -61,6 +62,7 @@ sp_item_skew_rel (SPItem *item, double skewX, double skewY)
     // Restore the center position (it's changed because the bbox center changed)
     if (item->isCenterSet()) {
         item->setCenter(center * affine);
+        item->updateRepr();
     }
 }