Commit ee6ad6bd authored by Michail Vourlakos's avatar Michail Vourlakos
Browse files

missing return statement in trash applet

The missing return was causing to set
Layout.minimumHeight in not correct value.
The issue was discovered when the trash
applet wasnt working with Latte parabolic
effect when it was in vertical docks.

Test Plan:
I made the change  and retested that everything works ok
in the panel or in the desktop.

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent ad0dbd65
......@@ -45,7 +45,7 @@ DragDrop.DropArea {
Layout.minimumHeight: {
if (constrained) {
formFactor === PlasmaCore.Types.Vertical ? width : 1
return formFactor === PlasmaCore.Types.Vertical ? width : 1
return units.iconSizes.small + text.height
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment