Improves video rythm

blinds
Laurent 5 years ago
parent e34345f869
commit 21d700db1e
  1. 4
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/replayer/ReplayerAnimator.kt

@ -102,9 +102,9 @@ class ReplayerAnimator(var handHistory: HandHistory, var export: Boolean) {
val step = this.currentStep val step = this.currentStep
return when { return when {
step is ComputedAction && step.street == Street.PREFLOP && step.action.type == Action.Type.FOLD -> { step is ComputedAction && step.street == Street.PREFLOP && step.action.type == Action.Type.FOLD -> {
FrameType.STATE.visualOccurences / 4 FrameType.STATE.visualOccurences / 3
} }
this.currentStepIndex == this.steps.size - 1 && this.currentFrameIndex == this.numberOfFramesForCurrentStep -> { this.currentStepIndex == this.steps.size - 1 && this.currentFrameIndex == this.numberOfFramesForCurrentStep - 1 -> {
FrameType.STATE.visualOccurences * 4 FrameType.STATE.visualOccurences * 4
} }
else -> this.frameType.visualOccurences else -> this.frameType.visualOccurences

Loading…
Cancel
Save