dont autoposition Layouts for inLocationAnimation

--block default-autopositioning for Layouts when the user
is changing location for the View. This way we are
trying to avoid issues concerning animations and glitches
during that animation.
pull/11/head
Michail Vourlakos 5 years ago
parent 1dc154f932
commit 783906d244

@ -50,6 +50,10 @@ Item{
target: layoutsContainer
property: "x"
value: {
if (visibilityManager.inLocationAnimation) {
return;
}
if (root.behaveAsPlasmaPanel) {
return 0;
}
@ -82,6 +86,10 @@ Item{
target: layoutsContainer
property: "y"
value: {
if (visibilityManager.inLocationAnimation) {
return;
}
if (root.behaveAsPlasmaPanel) {
return 0;
}

Loading…
Cancel
Save