Fix forwarded dice size.

Fixes #7472.
This commit is contained in:
John Preston 2020-03-29 13:35:14 +04:00
parent dba5c75ef1
commit 90a1cea515
1 changed files with 1 additions and 2 deletions

View File

@ -30,10 +30,9 @@ Dice::Dice(not_null<Element*> parent, not_null<Data::MediaDice*> dice)
, _dice(dice)
, _start(parent, Lookup(parent, 0)) {
_showLastFrame = _parent->data()->Has<HistoryMessageForwarded>();
_start.setDiceIndex(0);
if (_showLastFrame) {
_drawingEnd = true;
} else {
_start.setDiceIndex(0);
}
}