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:
parent
36033bac74
commit
5b77c09faa
@ -601,7 +601,8 @@ Item {
|
||||
fastEnteringFlag = false;
|
||||
}
|
||||
|
||||
if ((layoutsContainer.hoveredIndex !== -1) && !root.globalDirectRender) {
|
||||
if ((layoutsContainer.hoveredIndex !== -1 || root.latteAppletHoveredIndex!==-1)
|
||||
&& !root.globalDirectRender) {
|
||||
fastEnteringFlag = true;
|
||||
}
|
||||
|
||||
|
@ -516,7 +516,8 @@ MouseArea{
|
||||
fastEnteringFlag = false;
|
||||
}
|
||||
|
||||
if (icList.hoveredIndex!==-1 && !root.globalDirectRender) {
|
||||
if ((icList.hoveredIndex!==-1 || root.dockHoveredIndex!==-1)
|
||||
&& !root.globalDirectRender) {
|
||||
fastEnteringFlag = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user