forked from qt-creator/qt-creator
QmlDesigner: Don't update sceneTransform for direct movements
I am not sure that it breaks something but after much testing it looks like it is smoother without. Change-Id: Ibb9d59660f957901cfdf5f2a7ba2e17d4245197b Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
@@ -480,7 +480,7 @@ InformationName NodeInstance::setInformationIsInLayoutable(bool isInLayoutable)
|
||||
|
||||
InformationName NodeInstance::setInformationSceneTransform(const QTransform &sceneTransform)
|
||||
{
|
||||
if (d->sceneTransform != sceneTransform) {
|
||||
if (!directUpdates() && d->sceneTransform != sceneTransform) {
|
||||
d->sceneTransform = sceneTransform;
|
||||
return SceneTransform;
|
||||
}
|
||||
|
Reference in New Issue
Block a user