Skip to content
Permalink
Browse files

Disable smooth scrolling on Linux

Smooth scrolling (while using mousewheel or arrow keys) is a really
dumb idea. Text naturally appears as a blur while it moves, and the
animation takes that-many milliseconds to finish, so it's a time
waster too.

Only the fallback setting, which is used on Linux, is changed; on
Windows/MacOS, smooth scrolling remains controlled by a system
setting.
  • Loading branch information
jengelh committed Apr 24, 2017
1 parent 0662c63 commit 414c91f31a6abf48ba4f9629298e39444bc1fd4c
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/gfx/animation/animation.cc
@@ -123,7 +123,7 @@ bool Animation::ShouldRenderRichAnimationImpl() {
// static
bool Animation::ScrollAnimationsEnabledBySystem() {
// Defined in platform specific files for Windows and OSX.
return true;
return false;
}

#if !defined(OS_ANDROID)

0 comments on commit 414c91f

Please sign in to comment.
You can’t perform that action at this time.