2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Replaced behavior of statistics info to wait all charts.

This commit is contained in:
23rd
2024-01-29 17:05:56 +03:00
committed by John Preston
parent b182aeb51e
commit 32d3b90cdc
3 changed files with 43 additions and 20 deletions

View File

@@ -851,6 +851,9 @@ ChartWidget::ChartWidget(not_null<Ui::RpWidget*> parent)
}
int ChartWidget::resizeGetHeight(int newWidth) {
if (newWidth <= 0) {
return 0;
}
if (_filterButtons) {
_filterButtons->resizeToWidth(newWidth);
}