2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Fix tooltips in group calls.

This commit is contained in:
John Preston
2023-07-28 20:45:04 +04:00
parent 815e9d2462
commit f58171b50b

View File

@@ -2060,6 +2060,7 @@ void Panel::showNiceTooltip(
(normal ? widget().get() : container), (normal ? widget().get() : container),
std::move(text), std::move(text),
st::groupCallNiceTooltipLabel); st::groupCallNiceTooltipLabel);
label->resizeToNaturalWidth(label->naturalWidth());
if (normal) { if (normal) {
return label; return label;
} }