on xenial help sign in
hide close button when the tile is displaced
4547f04Michael Zanetti
qml/Stage/Stage.qml+1−1
@@ -1570,7 +1570,7 @@ FocusScope {
1570 anchors { left: parent.left; top: parent.top; leftMargin: -height / 2; topMargin: -height / 2 + spreadMaths.closeIconOffset }
1570 anchors { left: parent.left; top: parent.top; leftMargin: -height / 2; topMargin: -height / 2 + spreadMaths.closeIconOffset }
1571 source: "graphics/window-close.svg"
1571 source: "graphics/window-close.svg"
1572 readonly property var mousePos: hoverMouseArea.mapToItem(appDelegate, hoverMouseArea.mouseX, hoverMouseArea.mouseY)
1572 readonly property var mousePos: hoverMouseArea.mapToItem(appDelegate, hoverMouseArea.mouseX, hoverMouseArea.mouseY)
1573− visible: !appDelegate.isDash
1573+ visible: !appDelegate.isDash && dragArea.distance == 0
1574 && index == spreadItem.highlightedIndex
1574 && index == spreadItem.highlightedIndex
1575 && mousePos.y < (decoratedWindow.height / 3)
1575 && mousePos.y < (decoratedWindow.height / 3)
1576 && mousePos.y > -units.gu(4)
1576 && mousePos.y > -units.gu(4)