Fixed ability to dismiss of suggestion of 2+ birthdays of contacts.

This commit is contained in:
23rd 2025-05-07 12:15:43 +03:00
parent 584e55a89c
commit 57d24d0fbf

View file

@ -299,6 +299,8 @@ rpl::producer<Ui::SlideWrap<Ui::RpWidget>*> TopBarSuggestionValue(
s->widget = base::make_unique_q<Ui::RpWidget>( s->widget = base::make_unique_q<Ui::RpWidget>(
content); content);
const auto widget = s->widget.get(); const auto widget = s->widget.get();
widget->setAttribute(
Qt::WA_TransparentForMouseEvents);
content->sizeValue() | rpl::filter_size( content->sizeValue() | rpl::filter_size(
) | rpl::start_with_next([=](const QSize &size) { ) | rpl::start_with_next([=](const QSize &size) {
widget->resize(size); widget->resize(size);