| 2388 | } |
| 2389 | |
| 2390 | void Widget::startWidthAnimation() { |
| 2391 | if (!_widthAnimationCache.isNull()) { |
| 2392 | return; |
| 2393 | } |
| 2394 | _widthAnimationCache = grabNonNarrowScrollFrame(); |
| 2395 | _scroll->hide(); |
| 2396 | if (_frozenAccountBar) { |
| 2397 | _frozenAccountBar->hide(); |
| 2398 | } |
| 2399 | if (_chatFilters) { |
| 2400 | _chatFilters->hide(); |
| 2401 | } |
| 2402 | updateStoriesVisibility(); |
| 2403 | } |
| 2404 | |
| 2405 | void Widget::stopWidthAnimation() { |
| 2406 | _widthAnimationCache = QPixmap(); |
no test coverage detected