Fixed adaptive bubble resizing
This commit is contained in:
parent
1f0573f36e
commit
8b9582515e
1 changed files with 8 additions and 1 deletions
|
|
@ -529,7 +529,14 @@ HistoryWidget::HistoryWidget(
|
||||||
AdaptiveBubblesChanges(
|
AdaptiveBubblesChanges(
|
||||||
) | rpl::start_with_next([=] {
|
) | rpl::start_with_next([=] {
|
||||||
crl::on_main(this, [=] {
|
crl::on_main(this, [=] {
|
||||||
updateHistoryGeometry();
|
if (_history) {
|
||||||
|
_history->forceFullResize();
|
||||||
|
if (_migrated) {
|
||||||
|
_migrated->forceFullResize();
|
||||||
|
}
|
||||||
|
updateHistoryGeometry();
|
||||||
|
update();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue