From d184823ee90c2e3e7207a69224b5c1b15a42a423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Mon, 10 Oct 2022 21:54:26 +0200 Subject: [PATCH] Enable smooth scrolling --- src/discordpage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/discordpage.cpp b/src/discordpage.cpp index 9795e26..325dd37 100644 --- a/src/discordpage.cpp +++ b/src/discordpage.cpp @@ -48,6 +48,7 @@ DiscordPage::DiscordPage(QWidget *parent) : QWebEnginePage(parent) { settings()->setAttribute(QWebEngineSettings::PlaybackRequiresUserGesture, false); settings()->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, false); + settings()->setAttribute(QWebEngineSettings::ScrollAnimatorEnabled, true); setUrl(QUrl("https://discord.com/app"));