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

Method showFinished

Telegram/SourceFiles/window/section_widget.cpp:530–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528}
529
530void SectionWidget::showFinished() {
531 _showAnimation.reset();
532 if (isHidden()) return;
533
534 showChildren();
535 showFinishedHook();
536
537 if (isAncestorOf(window()->focusWidget())) {
538 setInnerFocus();
539 } else {
540 controller()->widget()->setInnerFocus();
541 }
542}
543
544rpl::producer<int> SectionWidget::desiredHeight() const {
545 return rpl::single(height());

Callers

nothing calls this directly

Calls 3

resetMethod · 0.45
setInnerFocusMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected