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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user