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,9 +821,10 @@ 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(
Media::Clip::Notification notification, Media::Clip::Notification notification,