Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: sky/framework/theme/view-configuration.dart

Issue 1004363002: Improve Sky's Scrollable physics (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/framework/components/scrollable.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/theme/view-configuration.dart
diff --git a/sky/framework/theme/view-configuration.dart b/sky/framework/theme/view-configuration.dart
index 984c9cab615351cfcd9343d30750d6a4b59f4ded..2b3f895e0715eb480fc9a00584505d300681014c 100644
--- a/sky/framework/theme/view-configuration.dart
+++ b/sky/framework/theme/view-configuration.dart
@@ -5,6 +5,8 @@
// Modeled after Android's ViewConfiguration:
// https://github.com/android/platform_frameworks_base/blob/master/core/java/android/view/ViewConfiguration.java
-const int kScrollbarSize = 10;
+const int kMaxFlingVelocity = 8000;
+const int kMinFlingVelocity = 50;
const int kScrollbarFadeDelay = 300;
const int kScrollbarFadeDuration = 250;
+const int kScrollbarSize = 10;
« no previous file with comments | « sky/framework/components/scrollable.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698