Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0bcbef71 authored by Jan Hambrecht's avatar Jan Hambrecht

resize filter effect rects when resizing shape


svn path=/trunk/koffice/; revision=996746
parent 30ad67b2
......@@ -45,6 +45,7 @@
#include "KoEventAction.h"
#include "KoEventActionRegistry.h"
#include "KoOdfWorkaround.h"
#include "KoFilterEffect.h"
#include <KoXmlReader.h>
#include <KoXmlWriter.h>
......@@ -247,6 +248,11 @@ void KoShape::setSize(const QSizeF &newSize)
l->setLineBrush(brush);
}
foreach(KoFilterEffect *effect, d->filterEffects) {
effect->setClipRect(matrix.mapRect(effect->clipRect()));
effect->setFilterRect(matrix.mapRect(effect->filterRect()));
}
d->size = newSize;
notifyChanged();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment