mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
increased speed of smooth scrolling
This commit is contained in:
parent
315cfd8605
commit
3bf3490aa3
|
@ -20,7 +20,7 @@ ScrollBar::ScrollBar(ChannelView *parent)
|
||||||
, smoothScrollingSetting(singletons::SettingManager::getInstance().enableSmoothScrolling)
|
, smoothScrollingSetting(singletons::SettingManager::getInstance().enableSmoothScrolling)
|
||||||
{
|
{
|
||||||
resize((int)(16 * this->getDpiMultiplier()), 100);
|
resize((int)(16 * this->getDpiMultiplier()), 100);
|
||||||
this->currentValueAnimation.setDuration(250);
|
this->currentValueAnimation.setDuration(150);
|
||||||
this->currentValueAnimation.setEasingCurve(QEasingCurve(QEasingCurve::OutCubic));
|
this->currentValueAnimation.setEasingCurve(QEasingCurve(QEasingCurve::OutCubic));
|
||||||
|
|
||||||
setMouseTracking(true);
|
setMouseTracking(true);
|
||||||
|
|
Loading…
Reference in a new issue