1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-10 04:58:16 +03:00

disable directRender when showing context menus

--this way closing the context menu the parabolic
animation doesnt break
This commit is contained in:
Michail Vourlakos 2017-09-16 00:31:33 +03:00
parent be779e2674
commit d5f8878d56
2 changed files with 6 additions and 0 deletions

View File

@ -1166,6 +1166,8 @@ DragDrop.DropArea {
onContextMenuIsShownChanged: {
if (!dock.contextMenuIsShown) {
checkRestoreZoom.start();
} else {
root.globalDirectRender = false;
}
}
}

View File

@ -85,8 +85,12 @@ PlasmaComponents.ContextMenu {
openRelative();
windowsPreviewDlg.contextMenu = true;
windowsPreviewDlg.hide();
icList.directRender = false;
if (root.latteDock){
root.latteDock.hideTooltipLabel();
root.latteDock.globalDirectRender = false;
}
}