mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fixed crashes in thumb animation. Fix notifications show.
Also allow reporting bots. Also disable last used stickers click.
This commit is contained in:
@@ -959,10 +959,13 @@ void StickersBox::Inner::mouseReleaseEvent(QMouseEvent *e) {
|
||||
} else if (pressed == _selected && _actionSel < 0 && _actionDown < 0) {
|
||||
if (_selected >= 0 && !_inDragArea) {
|
||||
auto &sets = Global::RefStickerSets();
|
||||
auto it = sets.find(_rows.at(pressed)->id);
|
||||
if (it != sets.cend()) {
|
||||
_selected = -1;
|
||||
Ui::showLayer(new StickerSetBox(Stickers::inputSetId(*it)), KeepOtherLayers);
|
||||
auto row = _rows[pressed];
|
||||
if (!row->isRecentSet()) {
|
||||
auto it = sets.find(row->id);
|
||||
if (it != sets.cend()) {
|
||||
_selected = -1;
|
||||
Ui::showLayer(new StickerSetBox(Stickers::inputSetId(*it)), KeepOtherLayers);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user