mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 16:35:44 +00:00
fixed crashes on quit, fixed scrolled sticker icons
This commit is contained in:
@@ -2694,6 +2694,7 @@ void EmojiPan::updateSelected() {
|
||||
if (y >= _iconsTop && y < _iconsTop + st::rbEmoji.height && x >= 0 && x < 7 * st::rbEmoji.width && x < _icons.size() * st::rbEmoji.width) {
|
||||
int32 skip = 0;
|
||||
for (int32 i = 0, l = _icons.size(); i < l; ++i) {
|
||||
if (_icons.at(i).sticker) break;
|
||||
if (x < st::rbEmoji.width) {
|
||||
newOver = i;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user