kopia lustrzana https://github.com/paraboul/mapchecking
Fix slider animation
rodzic
938dd2a764
commit
5362f69884
|
@ -87,7 +87,7 @@ const densityUpdate = (val: number) => {
|
||||||
|
|
||||||
const setDensity = (val: number) => {
|
const setDensity = (val: number) => {
|
||||||
tatween(800, Easing.Exponential.Out, (obj) => {
|
tatween(800, Easing.Exponential.Out, (obj) => {
|
||||||
density.value = val;
|
obj.value = val;
|
||||||
}, density)
|
}, density)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue