1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-24 18:03:53 +03:00

dont release zoom when plasmoid context menu is shown

This commit is contained in:
Michail Vourlakos 2017-07-27 18:13:04 +03:00
parent b2df416e1b
commit 0b344be641
2 changed files with 5 additions and 1 deletions

View File

@ -1275,7 +1275,7 @@ DragDrop.DropArea {
interval: 150;
onTriggered: {
if (latteApplet && latteApplet.previewContainsMouse())
if (latteApplet && (latteApplet.previewContainsMouse() || latteApplet.contextMenu))
return;
if (!dock.visibility.containsMouse || (rootMouseArea.containsMouse && !root.editMode)

View File

@ -884,6 +884,10 @@ Item {
enableDirectRenderTimer.stop();
icList.directRender = false;
if(root.latteDock) {
root.latteDock.globalDirectRender = false;
root.latteDock.clearZoom();
}
root.clearZoom();
}