[Plasma ScrollViewStyle] Show scroll bar background only on hover
This makes it consistent with the Breeze widget style. The other themes (Air and Oxygen) didn't even have a scroll bar background. Differential Revision: https://phabricator.kde.org/D3828
This commit is contained in:
parent
6aedda94b2
commit
8675a31d2a
@ -143,6 +143,13 @@ QtQuickControlStyle.ScrollViewStyle {
|
||||
prefix: styleData.horizontal ? "background-horizontal" : "background-vertical"
|
||||
implicitWidth: widthHint
|
||||
colorGroup: PlasmaCore.ColorScope.colorGroup
|
||||
opacity: styleData.hovered ? 1 : 0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handle: PlasmaCore.FrameSvgItem {
|
||||
|
Loading…
Reference in New Issue
Block a user