Commit 249441ea authored by Alex Sakhartchouk's avatar Alex Sakhartchouk Committed by Commit Bot

[Chromecast] Slightly tweak fling friction.

Makes fling speed feel more natural.

Bug: none
Test: flashed, flinged
Change-Id: I8b181dbe0e9dec00f1e7a91799bbd83e86bea48b
Reviewed-on: https://chromium-review.googlesource.com/1140503
Commit-Queue: Alex Sakhartchouk <alexst@chromium.org>
Commit-Queue: Kevin Schoedel <kpschoedel@chromium.org>
Reviewed-by: default avatarKevin Schoedel <kpschoedel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575681}
parent c639169e
......@@ -189,7 +189,7 @@ Scroller::Scroller(const Config& config)
distance_(0),
fling_friction_(config.fling_friction),
deceleration_(ComputeDeceleration(fling_friction_)),
tuning_coeff_(ComputeDeceleration(0.8f)) {
tuning_coeff_(ComputeDeceleration(0.9f)) {
}
Scroller::~Scroller() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment