mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-22 10:17:10 +00:00
Fixed ability to dismiss of suggestion of 2+ birthdays of contacts.
This commit is contained in:
parent
584e55a89c
commit
57d24d0fbf
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user