increased speed of smooth scrolling

This commit is contained in:
fourtf 2018-01-05 23:32:06 +01:00
parent 315cfd8605
commit 3bf3490aa3

View file

@ -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);