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

fix #910,set added applet parent to dndSpacer one

--in Justify alignment and normal mode, setting the applet
to have as parent the root qml Item it creates a stack in
a lot of cases... By setting the applet container item
directly to more proper parent fixes any issue.
This commit is contained in:
Michail Vourlakos 2018-03-08 19:01:11 +02:00
parent 11cccbf40d
commit 42793475c5

View File

@ -778,7 +778,7 @@ DragDrop.DropArea {
//////////////START OF FUNCTIONS
function addApplet(applet, x, y) {
var container = appletContainerComponent.createObject(root)
var container = appletContainerComponent.createObject(dndSpacer.parent)
container.applet = applet;
applet.parent = container.appletWrapper;