|
@@ -84,6 +84,7 @@ function DeckScope(scope) {
|
|
this.needRestore = false
|
|
this.needRestore = false
|
|
this.cards = this.restoredCards.map(function (row){ return row.concat() })
|
|
this.cards = this.restoredCards.map(function (row){ return row.concat() })
|
|
this.normalizeCards()
|
|
this.normalizeCards()
|
|
|
|
+ this.dropDiraction()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -108,6 +109,10 @@ function DeckScope(scope) {
|
|
if(card){
|
|
if(card){
|
|
card.direction = null
|
|
card.direction = null
|
|
}
|
|
}
|
|
|
|
+ card = this.restoredCards[j][i]
|
|
|
|
+ if(card){
|
|
|
|
+ card.direction = null
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|