Skip to content

Commit

Permalink
Merge pull request #20391 from wordpress-mobile/feature/speed-up-bar-…
Browse files Browse the repository at this point in the history
…animation

Speed up the bar animation on the TRAFFIC tab
  • Loading branch information
ravishanker authored Mar 3, 2024
2 parents a1cdc18 + 9e03331 commit 81cc154
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import android.content.Context
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.core.view.ViewCompat
import com.github.mikephil.charting.animation.Easing
import com.github.mikephil.charting.charts.BarChart
import com.github.mikephil.charting.components.Description
import com.github.mikephil.charting.components.XAxis
Expand Down Expand Up @@ -119,7 +118,7 @@ class TrafficBarChartViewHolder(parent: ViewGroup) : BlockListItemViewHolder(

extraRightOffset = 8f

animateY(1000, Easing.EaseInSine)
animateY(250)
}
}

Expand Down

0 comments on commit 81cc154

Please sign in to comment.