Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1ae8ded

Browse files
committed
cleanup for netflix animation
1 parent eccbf27 commit 1ae8ded

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎app/src/main/java/dev/baseio/composeplayground/ui/animations/NetFlixIntroAnimation.kt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fun NetflixIntro(modifier: Modifier) {
7777

7878

7979
val showingLumieres = remember {
80-
Animatable(1f)
80+
Animatable(0f)
8181
}
8282

8383
val brushMovingbrush1 = remember {
@@ -138,14 +138,14 @@ fun NetflixIntro(modifier: Modifier) {
138138
})
139139
}
140140

141-
/*launch {
141+
launch {
142142
showingLumieres.animateTo(1f, keyframes {
143143
durationMillis = 2000
144144
delayMillis = 1600
145145
0f at 0 with LinearEasing
146146
1f at 2500 with LinearEasing
147147
})
148-
}*/
148+
}
149149
})
150150

151151
// netflix intro
@@ -164,7 +164,7 @@ fun NetflixIntro(modifier: Modifier) {
164164
.width(nWidth)
165165
.height(nHeight)
166166
.graphicsLayer(
167-
//scaleX = zoomInNetflixBox.value, scaleY = zoomInNetflixBox.value,
167+
scaleX = zoomInNetflixBox.value, scaleY = zoomInNetflixBox.value,
168168
)
169169
) {
170170
EffectBrushOne(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /