Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Change loader spin duration to 750ms #140

Merged
merged 2 commits into from
Nov 19, 2019
Merged

Conversation

jgzuke
Copy link
Contributor

@jgzuke jgzuke commented Nov 18, 2019

Change the loader spin duration from 540ms to 750ms

540ms (current) https://share.getcloudapp.com/wbue4ejW
750ms https://share.getcloudapp.com/X6u21YZX
1000ms https://share.getcloudapp.com/JruwRwk1

Comment on lines 29 to 30
// Length of animation
const DURATION = 750;
Copy link
Contributor

@justinanastos justinanastos Nov 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NBD/minor: I know that it's commonly held to be a good idea to store constants instead of using magic numbers; but I prefer to at least keep them in the same function so the function has fewer external dependencies, and just so I don't have to go looking around for things. Also, use jsdoc style comments so that we get hinting from vs code elsewhere (meaning /** Length of animation */ instead of // )

@jgzuke jgzuke added the minor Increment the minor version when merged label Nov 19, 2019
@jgzuke jgzuke merged commit d541147 into master Nov 19, 2019
@jgzuke jgzuke deleted the jgzuke/change-spin-duration branch November 19, 2019 22:14
@apollo-bot2
Copy link
Collaborator

🚀 PR was released in v2.17.0 🚀

@apollo-bot2 apollo-bot2 added the released This issue/pull request has been released. label Nov 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
minor Increment the minor version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants