mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Don't scroll outer categories through inner categories.
This commit is contained in:
parent
80ebd943aa
commit
3c352cad40
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue