justify:move dropped applets in correct position

pull/19/head
Michail Vourlakos 5 years ago
parent 0bcc45e633
commit 3ce1eb06bd

@ -22,6 +22,8 @@ import QtQuick 2.7
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.draganddrop 2.0 as DragDrop
import org.kde.latte.core 0.2 as LatteCore
DragDrop.DropArea {
id: dragArea
@ -215,5 +217,9 @@ DragDrop.DropArea {
root.addLaunchersMessage = false;
dndSpacer.opacity = 0;
if (dragInfo.isPlasmoid && root.panelAlignment === LatteCore.Types.Justify) {
root.layoutManagerMoveAppletsBasedOnJustifyAlignment();
}
}
}

Loading…
Cancel
Save