diff --git a/examples/2048/2048/tile.go b/examples/2048/2048/tile.go index 4eabf33e3..a832602dd 100644 --- a/examples/2048/2048/tile.go +++ b/examples/2048/2048/tile.go @@ -71,6 +71,10 @@ func (t *Tile) IsMoving() bool { } func (t *Tile) stopAnimation() { + if 0 < t.movingCount { + t.current = t.next + t.next = TileData{} + } t.movingCount = 0 t.startPoppingCount = 0 t.poppingCount = 0