mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
@@ -30,10 +30,9 @@ Dice::Dice(not_null<Element*> parent, not_null<Data::MediaDice*> dice)
|
|||||||
, _dice(dice)
|
, _dice(dice)
|
||||||
, _start(parent, Lookup(parent, 0)) {
|
, _start(parent, Lookup(parent, 0)) {
|
||||||
_showLastFrame = _parent->data()->Has<HistoryMessageForwarded>();
|
_showLastFrame = _parent->data()->Has<HistoryMessageForwarded>();
|
||||||
|
_start.setDiceIndex(0);
|
||||||
if (_showLastFrame) {
|
if (_showLastFrame) {
|
||||||
_drawingEnd = true;
|
_drawingEnd = true;
|
||||||
} else {
|
|
||||||
_start.setDiceIndex(0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user