Skip to content

Commit

Permalink
Merge pull request #198 from Infomaniak/format-regions
Browse files Browse the repository at this point in the history
Format regions
  • Loading branch information
tevincent authored Jun 17, 2024
2 parents 5316a32 + 1ed835f commit c80a9ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class CommonConfetti private constructor(container: ViewGroup) {
private var defaultVelocityFast = 0
private var explosionRadius = 0

// region Pre-configured confetti animations
//region Pre-configured confetti animations
/**
* @param container the container viewgroup to host the confetti animation.
* @param colors the set of colors to colorize the confetti bitmaps.
Expand Down Expand Up @@ -157,7 +157,7 @@ class CommonConfetti private constructor(container: ViewGroup) {
) = CommonConfetti(container).apply {
configureExplosion(container, x, y, colors)
}
// endregion
//endregion

private fun ensureStaticResources(resources: Resources) = with(resources) {
if (defaultConfettiSize == 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ abstract class Confetto {
percentAnimated: Float,
)

// region Helper methods to set all of the necessary values for the confetto.
//region Helper methods to set all of the necessary values for the confetto.
fun setInitialDelay(value: Long) {
initialDelay = value
}
Expand Down Expand Up @@ -402,7 +402,7 @@ abstract class Confetto {
fun setFadeOut(fadeOutInterpolator: Interpolator?) {
this.fadeOutInterpolator = fadeOutInterpolator
}
// endregion
//endregion

private companion object {
const val MAX_ALPHA = 255
Expand Down

0 comments on commit c80a9ee

Please sign in to comment.