mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-31 16:54:46 +00:00
Fix low inertia scrolling with shell flickables
See https://invent.kde.org/teams/plasma-mobile/issues/-/issues/273
This commit is contained in:
parent
b312f1adc2
commit
601dde21ab
3 changed files with 3 additions and 0 deletions
|
|
@ -4,5 +4,6 @@
|
||||||
import QtQuick 2.15
|
import QtQuick 2.15
|
||||||
|
|
||||||
Flickable {
|
Flickable {
|
||||||
|
flickDeceleration: 1500
|
||||||
maximumFlickVelocity: 5000
|
maximumFlickVelocity: 5000
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ GridView {
|
||||||
id: root
|
id: root
|
||||||
currentIndex: -1
|
currentIndex: -1
|
||||||
|
|
||||||
|
flickDeceleration: 1500
|
||||||
maximumFlickVelocity: 5000
|
maximumFlickVelocity: 5000
|
||||||
|
|
||||||
highlight: highlightComponent
|
highlight: highlightComponent
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,6 @@ import QtQuick 2.15
|
||||||
import QtQuick.Controls 2.15
|
import QtQuick.Controls 2.15
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
|
flickDeceleration: 1500
|
||||||
maximumFlickVelocity: 5000
|
maximumFlickVelocity: 5000
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue