Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Default to (and thus allow) a zero second centerOn duration #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ptomooka
Copy link

Currently, duration = params.duration || 300 excludes the possibility of an instantaneous centerOn, which is sometimes desirable. This now adds instantaneous functionality, and sets this as the default.

Currently, duration = params.duration || 300 excludes the possibility of an instantaneous centerOn, which is sometimes desirable. This now adds instantaneous functionality, and sets this as the default.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant