@@ -225,7 +225,7 @@ Rectangle {
225 id: spreadMaths
225 id: spreadMaths
226 flickable: spreadFlickable
226 flickable: spreadFlickable
227 itemIndex: index
227 itemIndex: index
228− totalItems: ApplicationManager.count
228+ totalItems: Math.max(6, ApplicationManager.count)
229 sceneHeight: root.height
229 sceneHeight: root.height
230 itemHeight: appDelegate.height
230 itemHeight: appDelegate.height
@@ -360,7 +360,6 @@ Rectangle {
361 height: root.height * 0.25
361 height: root.height * 0.25
362 color: "#55000000"
362 color: "#55000000"
364 visible: false
363 visible: false
366 RowLayout {
365 RowLayout {
@@ -464,9 +463,7 @@ Rectangle {
464 PauseAnimation { duration: 50 }
463 PauseAnimation { duration: 50 }
465 PropertyAction { target: root; property: "workspacesUpdated"; value: true }
464 PropertyAction { target: root; property: "workspacesUpdated"; value: true }
466 PropertyAction { target: spreadFlickable; property: "visible" }
465 PropertyAction { target: spreadFlickable; property: "visible" }
467− PropertyAction { target: spreadFlickable; property: "contentX";
466+ PropertyAction { target: spreadFlickable; property: "contentX"; value: 0 }
468− value: ((spreadFlickable.contentWidth) / (ApplicationManager.count + 1)) * Math.max(0, Math.min(ApplicationManager.count - 3, 1));
470 PropertyAction { target: appRepeater; property: "highlightedIndex"; value: 1 }
467 PropertyAction { target: appRepeater; property: "highlightedIndex"; value: 1 }