Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format regions #198

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading