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:
parent
7c51065fcb
commit
57fd657a68
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user