1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-13 21:57:40 +03:00

fix #464,clear zoom for applets far of par.effect

This commit is contained in:
Michail Vourlakos 2017-05-20 23:16:59 +03:00
parent 7c51065fcb
commit 57fd657a68

View File

@ -303,6 +303,23 @@ Item {
root.clearZoomSignal.disconnect(clearZoom);
}
Connections{
target: root
onLatteAppletHoveredIndexChanged: {
if ((root.latteAppletHoveredIndex >= 0)
&& (Math.abs(index-root.latteAppletPos+root.latteAppletHoveredIndex)>=3))
container.clearZoom();
}
}
Connections{
target: layoutsContainer
onHoveredIndexChanged:{
if ((layoutsContainer.hoveredIndex>=0) && (Math.abs(index-layoutsContainer.hoveredIndex)>=3))
container.clearZoom();
}
}
///END connections