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 d423b9a commit fbb203ba68912bc6b8cac620894221c39a72d753
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/gfx/animation/animation.cc
@@ -122,7 +122,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 fbb203b

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