2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 14:17:45 +00:00

Fix WidgetFadeWrap::showFast() after animation. Fix #3096

This commit is contained in:
John Preston
2017-03-10 19:41:44 +03:00
parent 021454dbd4
commit 6061d9d65b

View File

@@ -84,7 +84,10 @@ void FadeAnimation::setUpdatedCallback(UpdatedCallback &&callback) {
}
void FadeAnimation::show() {
_visible = true;
if (!_visible) {
_visible = true;
_widget->showChildren();
}
stopAnimation();
}