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:
parent
be779e2674
commit
d5f8878d56
@ -1166,6 +1166,8 @@ DragDrop.DropArea {
|
||||
onContextMenuIsShownChanged: {
|
||||
if (!dock.contextMenuIsShown) {
|
||||
checkRestoreZoom.start();
|
||||
} else {
|
||||
root.globalDirectRender = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user