Skip to content

Commit

Permalink
Disable smooth scrolling on Linux (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngo Iok Ui (Wu Yu Wei) committed May 17, 2021
1 parent 54c5ec7 commit 3e786bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changes/scroll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"wry": patch
---

Disable smooth scrolling on Linux to match bahaviour on browsers.

3 changes: 0 additions & 3 deletions src/webview/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ impl InnerWebView {
settings.set_enable_offline_web_application_cache(true);
settings.set_enable_page_cache(true);

// Enable Smooth scrooling
settings.set_enable_smooth_scrolling(true);

debug_assert_eq!(
{
settings.set_enable_developer_extras(true);
Expand Down

0 comments on commit 3e786bb

Please sign in to comment.