Fix controls disappearing in group calls.

This commit is contained in:
John Preston
2025-12-19 22:42:40 +04:00
parent 885d431d65
commit fe3c545455

View File

@@ -2123,6 +2123,7 @@ void Panel::trackControl(Ui::RpWidget *widget, rpl::lifetime &lifetime) {
trackControlOver(widget, true);
}
});
toggleWideControls(true);
} else if (type == QEvent::Leave) {
*over = false;
crl::on_main(widget, [=] {
@@ -2130,6 +2131,7 @@ void Panel::trackControl(Ui::RpWidget *widget, rpl::lifetime &lifetime) {
trackControlOver(widget, false);
}
});
toggleWideControls(false);
}
}, lifetime);
}
@@ -2150,7 +2152,6 @@ void Panel::trackControlOver(not_null<Ui::RpWidget*> control, bool over) {
} else {
Ui::Integration::Instance().unregisterLeaveSubscription(control);
}
toggleWideControls(over);
}
void Panel::showStickedTooltip() {