2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Top bar buttons design improved, emoji pan animations removed.

This commit is contained in:
John Preston
2016-11-19 12:22:53 +03:00
parent d313bd56a6
commit 2ada4d841f
20 changed files with 244 additions and 526 deletions

View File

@@ -2976,11 +2976,11 @@ bool MainWidget::needBackButton() {
return _overview || _wideSection || _history->peer();
}
bool MainWidget::paintTopBar(Painter &p, float64 over, int32 decreaseWidth) {
bool MainWidget::paintTopBar(Painter &p, int decreaseWidth) {
if (_overview) {
return _overview->paintTopBar(p, over, decreaseWidth);
return _overview->paintTopBar(p, decreaseWidth);
} else if (!_wideSection) {
return _history->paintTopBar(p, over, decreaseWidth);
return _history->paintTopBar(p, decreaseWidth);
}
return false;
}