mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
homescreens/halcyon: Fix FolderGrid loading
This commit is contained in:
parent
c3e85d0823
commit
6fbe8e7e64
2 changed files with 1 additions and 9 deletions
|
|
@ -20,8 +20,8 @@ import org.kde.kirigami 2.19 as Kirigami
|
|||
|
||||
Item {
|
||||
id: delegate
|
||||
|
||||
property int visualIndex: 0
|
||||
|
||||
property real dragFolderAnimationProgress: 0
|
||||
|
||||
property list<Kirigami.Action> menuActions
|
||||
|
|
|
|||
|
|
@ -23,9 +23,6 @@ MobileShell.GridView {
|
|||
property string folderName: folder ? folder.name : ""
|
||||
property var folderModel: folder ? folder.applications : []
|
||||
|
||||
// don't set anchors.margins since we want everywhere to be draggable
|
||||
required property real leftMargin
|
||||
required property real rightMargin
|
||||
required property bool twoColumn
|
||||
|
||||
signal openConfigureRequested()
|
||||
|
|
@ -209,11 +206,6 @@ MobileShell.GridView {
|
|||
}
|
||||
]
|
||||
|
||||
readonly property bool isLeftColumn: !root.twoColumn || ((visualIndex % 2) === 0)
|
||||
readonly property bool isRightColumn: !root.twoColumn || ((visualIndex % 2) !== 0)
|
||||
leftPadding: isLeftColumn ? root.leftMargin : 0
|
||||
rightPadding: isRightColumn ? root.rightMargin : 0
|
||||
|
||||
implicitWidth: root.cellWidth
|
||||
implicitHeight: visible ? root.cellHeight : 0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue