2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added ability to go to top of media panel by clicking on selected tab.

This commit is contained in:
23rd
2019-03-26 08:40:22 +03:00
committed by John Preston
parent 84e9e37353
commit 3fa3428b4b
3 changed files with 4 additions and 4 deletions

View File

@@ -436,6 +436,7 @@ void StickersBox::switchTab() {
requestArchivedSets();
}
if (_tab == newTab) {
onScrollToY(0);
return;
}