Prevent flicking behavior for machine selection

Contributes to #6684
This commit is contained in:
Jaime van Kessel 2019-11-22 11:02:19 +01:00
parent e937cdc937
commit 997f19ba26
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 4 additions and 2 deletions

View file

@ -91,7 +91,8 @@ Item
// individual item has a dynamic change on its visibility, the ListView doesn't redraw itself.
// The default value of cacheBuffer is platform-dependent, so we explicitly disable it here.
cacheBuffer: 0
boundsBehavior: Flickable.StopAtBounds
flickDeceleration: 20000 // To prevent the flicking behavior.
model: UM.DefinitionContainersModel
{
id: machineDefinitionsModel