summaryrefslogtreecommitdiffstats
path: root/src/sp-item-transform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-item-transform.cpp')
-rw-r--r--src/sp-item-transform.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-item-transform.cpp b/src/sp-item-transform.cpp
index 90f84ae0a..23c0bdf33 100644
--- a/src/sp-item-transform.cpp
+++ b/src/sp-item-transform.cpp
@@ -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();
}
}