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:
Andrew Opalach
2021-04-24 11:15:15 -04:00
committed by GitHub
parent 62bf843aaf
commit 24a2d8a86f
4 changed files with 21 additions and 0 deletions
+2
View File
@@ -44,6 +44,8 @@ public:
qreal getDesiredValue() const;
qreal getCurrentValue() const;
const QPropertyAnimation &getCurrentValueAnimation() const;
// offset the desired value without breaking smooth scolling
void offset(qreal value);
pajlada::Signals::NoArgSignal &getCurrentValueChanged();