mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
homescreens/halcyon: Remove glitchy looking scrollbar
This commit is contained in:
parent
fbaacc78ac
commit
e0828cb272
2 changed files with 1 additions and 18 deletions
|
|
@ -90,21 +90,4 @@ MobileShell.GridView {
|
|||
application.runApplication();
|
||||
}
|
||||
}
|
||||
|
||||
PC3.ScrollBar.vertical: PC3.ScrollBar {
|
||||
id: scrollBar
|
||||
interactive: true
|
||||
enabled: true
|
||||
Behavior on opacity {
|
||||
OpacityAnimator {
|
||||
duration: PlasmaCore.Units.longDuration * 2
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
implicitWidth: PlasmaCore.Units.smallSpacing
|
||||
contentItem: Rectangle {
|
||||
radius: width/2
|
||||
color: Qt.rgba(1, 1, 1, 0.3)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,9 +74,9 @@ Item {
|
|||
id: gridAppList
|
||||
property real horizontalMargin: Math.max(Kirigami.Units.largeSpacing, swipeView.width * 0.1 / 2)
|
||||
interactive: root.interactive
|
||||
effectiveContentWidth: swipeView.width - leftMargin - rightMargin
|
||||
leftMargin: horizontalMargin
|
||||
rightMargin: horizontalMargin
|
||||
effectiveContentWidth: swipeView.width - leftMargin - rightMargin
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue