Wait for smooth scrolling animation to add new message (#2084)
Co-authored-by: Paweł <zneix@zneix.eu> Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -188,6 +188,11 @@ qreal Scrollbar::getCurrentValue() const
|
||||
return this->currentValue_;
|
||||
}
|
||||
|
||||
const QPropertyAnimation &Scrollbar::getCurrentValueAnimation() const
|
||||
{
|
||||
return this->currentValueAnimation_;
|
||||
}
|
||||
|
||||
void Scrollbar::offset(qreal value)
|
||||
{
|
||||
if (this->currentValueAnimation_.state() == QPropertyAnimation::Running)
|
||||
|
||||
Reference in New Issue
Block a user