MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / startWidthAnimation

Method startWidthAnimation

Telegram/SourceFiles/dialogs/dialogs_widget.cpp:2390–2403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2388}
2389
2390void 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
2405void Widget::stopWidthAnimation() {
2406 _widthAnimationCache = QPixmap();

Callers 1

Calls 2

isNullMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected