mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +00:00
Fix info layer animations.
This commit is contained in:
@@ -105,10 +105,6 @@ void LayerWidget::setupHeightConsumers() {
|
||||
// New content arrived.
|
||||
_heightAnimated = _heightAnimation.animating();
|
||||
return;
|
||||
} else if (height < _desiredHeight
|
||||
&& height < st::columnMinimalWidthMain) {
|
||||
// Don't animate layer height to a very small one.
|
||||
return;
|
||||
}
|
||||
std::swap(_desiredHeight, height);
|
||||
if (!height
|
||||
|
Reference in New Issue
Block a user