mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-05 17:47:23 +03:00
justify:move dropped applets in correct position
This commit is contained in:
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…
x
Reference in New Issue
Block a user