mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Init top bar blobs geometry safely.
This commit is contained in:
@@ -1000,6 +1000,7 @@ void MainWidget::createCallTopBar() {
|
||||
(_currentCall
|
||||
? object_ptr<Calls::TopBar>(this, _currentCall)
|
||||
: object_ptr<Calls::TopBar>(this, _currentGroupCall)));
|
||||
_callTopBar->entity()->initBlobsUnder(this, _callTopBar->geometryValue());
|
||||
_callTopBar->heightValue(
|
||||
) | rpl::start_with_next([this](int value) {
|
||||
callTopBarHeightUpdated(value);
|
||||
|
Reference in New Issue
Block a user