on xenial help sign in
hide close button when the tile is displaced
commit4547f04bf85a5bb79c50d3ef8e4a444f53977162 authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 5 Oct 2016, 15:49 (10 years ago) parent5054cbb
1 file changed+1−1
qml/Stage/Stage.qml+1−1
qml/Stage/Stage.qml+1−1
@@ -1570,7 +1570,7 @@ FocusScope {
15701570 anchors { left: parent.left; top: parent.top; leftMargin: -height / 2; topMargin: -height / 2 + spreadMaths.closeIconOffset }
15711571 source: "graphics/window-close.svg"
15721572 readonly property var mousePos: hoverMouseArea.mapToItem(appDelegate, hoverMouseArea.mouseX, hoverMouseArea.mouseY)
1573− visible: !appDelegate.isDash
1573+ visible: !appDelegate.isDash && dragArea.distance == 0
15741574 && index == spreadItem.highlightedIndex
15751575 && mousePos.y < (decoratedWindow.height / 3)
15761576 && mousePos.y > -units.gu(4)