mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-09 21:57:37 +03:00
block parabolic animations onEnter event
--calculations for parabolic effect are blocked at the onEntered events because the mouse position is faulty and breaks the animations
This commit is contained in:
parent
3a2b0f7fd6
commit
53633290fc
@ -581,14 +581,14 @@ Item {
|
||||
return;
|
||||
}
|
||||
|
||||
if (root.isHorizontal){
|
||||
/* if (root.isHorizontal){
|
||||
layoutsContainer.currentSpot = mouseX;
|
||||
wrapper.calculateScales(mouseX);
|
||||
}
|
||||
else{
|
||||
layoutsContainer.currentSpot = mouseY;
|
||||
wrapper.calculateScales(mouseY);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
onExited:{
|
||||
|
@ -532,7 +532,7 @@ MouseArea{
|
||||
return;
|
||||
}
|
||||
|
||||
if((!inAnimation)&&(root.dragSource == null)&&(!root.taskInAnimation) && hoverEnabled){
|
||||
/* if((!inAnimation)&&(root.dragSource == null)&&(!root.taskInAnimation) && hoverEnabled){
|
||||
if (inAttentionAnimation) {
|
||||
var subSpacerScale = (root.zoomFactor-1)/2;
|
||||
hiddenSpacerLeft.nScale = subSpacerScale;
|
||||
@ -549,7 +549,7 @@ MouseArea{
|
||||
wrapper.calculateScales(mouseY);
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
// IMPORTANT: This must be improved ! even for small miliseconds it reduces performance
|
||||
|
Loading…
x
Reference in New Issue
Block a user