Fix controls disappearing in group calls.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user