mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
scroll indicator non interactive
This commit is contained in:
parent
12c856213c
commit
9f15697a76
2 changed files with 2 additions and 16 deletions
|
|
@ -32,4 +32,4 @@ export GRID_UNIT_PX=30
|
|||
/usr/bin/kded5&
|
||||
/usr/bin/voicecall-manager&
|
||||
/usr/bin/plasmaphonedialer -d&
|
||||
exec /usr/bin/plasmashell -p org.kde.satellite.phone
|
||||
exec /usr/bin/plasmashell -p org.kde.satellite.phone 2>/tmp/plasmashell_logs
|
||||
|
|
|
|||
|
|
@ -559,27 +559,13 @@ MouseEventListener {
|
|||
radius: width
|
||||
anchors.right: parent.right
|
||||
y: applicationsView.height * applicationsView.visibleArea.yPosition
|
||||
opacity: scrollbarMouse.pressed || applicationsView.flicking || scrollDownIndicator.opacity > 0 || scrollUpIndicator.opacity > 0 ? 0.8 : 0
|
||||
opacity: applicationsView.flicking || scrollDownIndicator.opacity > 0 || scrollUpIndicator.opacity > 0 ? 0.8 : 0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
MouseArea {
|
||||
id: scrollbarMouse
|
||||
anchors {
|
||||
fill: parent
|
||||
margins: -units.gridUnit
|
||||
}
|
||||
drag.target: parent
|
||||
onPositionChanged: {
|
||||
applicationsView.contentY = applicationsView.contentHeight * (parent.y / applicationsView.height) - applicationsView.headerItem.height
|
||||
}
|
||||
onReleased: {
|
||||
applicationsView.returnToBounds()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue