yes
This commit is contained in:
@ -22,13 +22,13 @@ const flash = ({ type, msg }) => {
|
||||
flashActive = true;
|
||||
flashContainer.animate(
|
||||
[ { bottom: "-28px" }, { bottom: 0 } ], {
|
||||
duration: 400,
|
||||
duration: 500,
|
||||
fill: "both"
|
||||
}
|
||||
).onfinish = () => setTimeout(() => {
|
||||
flashContainer.animate(
|
||||
[ { bottom: 0 }, { bottom: "-28px" } ], {
|
||||
duration: 400,
|
||||
duration: 500,
|
||||
fill: "both"
|
||||
}
|
||||
).onfinish = () => flashActive = false;
|
||||
|
Reference in New Issue
Block a user