2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 14:17:45 +00:00

Don't scroll outer categories through inner categories.

This commit is contained in:
John Preston 2022-07-26 19:33:03 +03:00
parent 80ebd943aa
commit 3c352cad40

View File

@ -821,8 +821,9 @@ void StickersListFooter::scrollByWheelEvent(
const auto index = v::get<IconId>(_selected).index; const auto index = v::get<IconId>(_selected).index;
if (_icons[index].setId == AllEmojiSectionSetId()) { if (_icons[index].setId == AllEmojiSectionSetId()) {
use(_subiconState); use(_subiconState);
} else {
use(_iconState);
} }
use(_iconState);
} }
void StickersListFooter::clipCallback( void StickersListFooter::clipCallback(