mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
remove the settings area
This commit is contained in:
parent
1865651723
commit
08e13e7cc2
1 changed files with 2 additions and 12 deletions
|
|
@ -165,13 +165,13 @@ Item {
|
|||
snapMode: GridView.SnapToRow
|
||||
|
||||
onFlickingChanged: {
|
||||
if (!draggingVertically && contentY < -root.height*2) {
|
||||
if (!draggingVertically && contentY < -headerItem.height + root.height) {
|
||||
scrollAnim.to = Math.round(contentY/root.height) * root.height
|
||||
scrollAnim.running = true;
|
||||
}
|
||||
}
|
||||
onDraggingVerticallyChanged: {
|
||||
if (!draggingVertically && contentY < -root.height*2) {
|
||||
if (!draggingVertically && contentY < -headerItem.height + root.height) {
|
||||
scrollAnim.to = Math.round(contentY/root.height) * root.height
|
||||
scrollAnim.running = true;
|
||||
}
|
||||
|
|
@ -224,16 +224,6 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
color: Qt.rgba(0, 0, 0, 0.6)
|
||||
Layout.fillWidth: true
|
||||
Layout.minimumHeight: root.height
|
||||
PlasmaComponents.Label {
|
||||
anchors.centerIn: parent
|
||||
text: "Settings Area"
|
||||
font.pointSize: 20
|
||||
}
|
||||
}
|
||||
ColumnLayout {
|
||||
id: appletsLayout
|
||||
Layout.minimumHeight: Math.max(root.height, Math.round(Layout.preferredHeight / root.height) * root.height)
|
||||
|
|
|
|||
Loading…
Reference in a new issue