@ -252,7 +252,7 @@ class ReplayerAnimator(var handHistory: HandHistory, var export: Boolean) {
val maxPlayerCards = this.handHistory.maxPlayerCards
val grid = when (this.handHistory.numberOfPlayers) {
9, 10 -> Pair(4f, 5f)
else -> Pair(3.2f, 4.4f)
else -> Pair(3.7f, 4.7f)
}
val portrait = height > width
@ -19,7 +19,7 @@ class ReplayerView(context: Context, attrs: AttributeSet) : View(context, attrs)
init {
this.viewTreeObserver.addOnGlobalLayoutListener {
this.animator.configure(width.toFloat(), height.toFloat(), context)
this.animator.configure(width.toFloat(), width.toFloat(), context)