mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-21 10:50:30 +03:00
enable directRenderDelayer after hiding
This commit is contained in:
parent
0bb70c1595
commit
b2d917026f
@ -647,15 +647,19 @@ Item {
|
||||
return;
|
||||
}
|
||||
|
||||
if (layoutsContainer.hoveredIndex === -1 && root.latteAppletHoveredIndex===-1) {
|
||||
root.startDirectRenderDelayerDuringEntering();
|
||||
}
|
||||
|
||||
if (!(root.dockIsHidden || root.inSlidingIn || root.inSlidingOut)){
|
||||
layoutsContainer.hoveredIndex = index;
|
||||
}
|
||||
|
||||
if (!root.globalDirectRender && !root.directRenderDelayerIsRunning) {
|
||||
root.setGlobalDirectRender(true);
|
||||
}
|
||||
|
||||
if( ((wrapper.zoomScale == 1 || wrapper.zoomScale === root.zoomFactor) && !root.globalDirectRender) || root.globalDirectRender) {
|
||||
if (!(root.dockIsHidden || root.inSlidingIn || root.inSlidingOut)){
|
||||
layoutsContainer.hoveredIndex = index;
|
||||
}
|
||||
|
||||
if (root.isHorizontal){
|
||||
var step = Math.abs(layoutsContainer.currentSpot-mouse.x);
|
||||
if (step >= root.animationStep){
|
||||
|
@ -590,6 +590,10 @@ MouseArea{
|
||||
}
|
||||
|
||||
if((inAnimation == false)&&(!root.taskInAnimation)&&(!root.disableRestoreZoom) && hoverEnabled){
|
||||
if (icList.hoveredIndex === -1 && root.dockHoveredIndex ===-1) {
|
||||
root.startDirectRenderDelayerDuringEntering();
|
||||
}
|
||||
|
||||
if (!latteDock || (latteDock && !(latteDock.dockIsHidden || latteDock.inSlidingIn || latteDock.inSlidingOut))){
|
||||
icList.hoveredIndex = index;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user