1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-21 10:50:30 +03:00

improve fastEntering tracking

--take into account both hoveredIndexes
(applet & containment) for fastEntering
identify.
This commit is contained in:
Michail Vourlakos 2018-03-14 16:00:25 +02:00
parent 36033bac74
commit 5b77c09faa
2 changed files with 4 additions and 2 deletions

View File

@ -601,7 +601,8 @@ Item {
fastEnteringFlag = false;
}
if ((layoutsContainer.hoveredIndex !== -1) && !root.globalDirectRender) {
if ((layoutsContainer.hoveredIndex !== -1 || root.latteAppletHoveredIndex!==-1)
&& !root.globalDirectRender) {
fastEnteringFlag = true;
}

View File

@ -516,7 +516,8 @@ MouseArea{
fastEnteringFlag = false;
}
if (icList.hoveredIndex!==-1 && !root.globalDirectRender) {
if ((icList.hoveredIndex!==-1 || root.dockHoveredIndex!==-1)
&& !root.globalDirectRender) {
fastEnteringFlag = true;
}