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

hide preview on clearZoom

This commit is contained in:
Michail Vourlakos 2017-05-04 21:12:18 +03:00
parent e964d07e6e
commit 00ce7931dc
3 changed files with 10 additions and 0 deletions

View File

@ -1057,6 +1057,11 @@ DragDrop.DropArea {
enableDirectRenderTimer.start();
}
function startCheckRestoreZoomTimer(){
checkRestoreZoom.start();
}
function updateAutomaticIconSize() {
if ((visibilityManager.normalState && !root.editMode && root.autoDecreaseIconSize)
&& (iconSize===root.maxIconSize || iconSize === automaticIconSizeBasedSize) ) {

View File

@ -138,6 +138,8 @@ PlasmaExtras.ScrollArea {
if(!root.latteDock)
checkListHovered.startDuration(100);
else
root.latteDock.startCheckRestoreZoomTimer();
}
}

View File

@ -1312,6 +1312,9 @@ Item {
return;
}
if (!previewContainsMouse())
windowsPreviewDlg.hide(4);
icList.currentSpot = -1000;
icList.hoveredIndex = -1;
root.clearZoomSignal();