on xenial help sign in
minor tweaks
6c275e4Michael Zanetti
qml/Stage/Spread/Spread.qml+1−1
@@ -91,7 +91,7 @@ Item {
91
91
92 readonly property real visibleItemCount: (spreadWidth / spreadItemWidth) / (1 - itemOverlap)
92 readonly property real visibleItemCount: (spreadWidth / spreadItemWidth) / (1 - itemOverlap)
93
93
94− readonly property real spreadTotalWidth: Math.max(2,totalItemCount) * spreadWidth / visibleItemCount
94+ readonly property real spreadTotalWidth: totalItemCount * spreadWidth / visibleItemCount
95
95
96 readonly property real centeringOffset: Math.max(spreadWidth - spreadTotalWidth + (leftStackXPos - leftMargin) * 2, 0) / (2 * spreadWidth)
96 readonly property real centeringOffset: Math.max(spreadWidth - spreadTotalWidth + (leftStackXPos - leftMargin) * 2, 0) / (2 * spreadWidth)
97
97
qml/Stage/Spread/Workspaces.qml+1−1
@@ -192,7 +192,7 @@ Item {
192 MouseArea {
192 MouseArea {
193 anchors.fill: parent
193 anchors.fill: parent
194 onClicked: {
194 onClicked: {
195− screenWindow.screen.currentWorkspace = model.workspace
195+ model.workspace.activate()
196 }
196 }
197 }
197 }
198
198