derivato da vergnet/application-amicale
Use native driver for more animations
Questo commit è contenuto in:
parent
fd44a32b05
commit
a3ce3a76c3
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
|
|
@ -408,6 +408,7 @@ class EquipmentRentScreen extends React.Component<PropsType, StateType> {
|
|||
/>
|
||||
<Animatable.View
|
||||
ref={this.bookRef}
|
||||
useNativeDriver
|
||||
style={{
|
||||
position: 'absolute',
|
||||
bottom: 0,
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ class GameStartScreen extends React.Component<PropsType> {
|
|||
const animDuration = 2 * (2000 - size * 30);
|
||||
return (
|
||||
<Animatable.View
|
||||
useNativeDriver
|
||||
animation="fadeInDownBig"
|
||||
delay={animDelay}
|
||||
duration={animDuration}
|
||||
|
|
|
|||
Caricamento…
Crea riferimento in una nuova segnalazione