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

fix editShadow for compositing mode

This commit is contained in:
Michail Vourlakos 2018-02-22 19:36:12 +02:00
parent 657d86033f
commit e370f0447f

View File

@ -200,7 +200,7 @@ DragDrop.DropArea {
property int panelMarginLength: 0
property int panelShadow: 0 //shadowsSize
property int editShadow: {
if (Latte.WindowSystem.compositingActive) {
if (!Latte.WindowSystem.compositingActive) {
return 0;
} else if (dock && dock.screenGeometry) {
return (dock.screenGeometry.height/90);