make sure to reposition all the toolboxes on all screens when the zoom
level changes svn path=/trunk/KDE/kdelibs/; revision=898482
This commit is contained in:
parent
ffead9de07
commit
3cab60d833
@ -1044,6 +1044,9 @@ void Applet::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QW
|
|||||||
|
|
||||||
//update the view transform of the toolbox, since it ignores transforms
|
//update the view transform of the toolbox, since it ignores transforms
|
||||||
if (c && c->d->toolBox) {
|
if (c && c->d->toolBox) {
|
||||||
|
if (c->d->toolBox->viewTransform().isScaling() && !v->transform().isScaling()) {
|
||||||
|
c->d->positionToolBox();
|
||||||
|
}
|
||||||
c->d->toolBox->setViewTransform(v->transform());
|
c->d->toolBox->setViewTransform(v->transform());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user