Skip to content

Avoid negative duration in interpolateZoom#102

Open
jjhembd wants to merge 1 commit intod3:mainfrom
jjhembd:patch-1
Open

Avoid negative duration in interpolateZoom#102
jjhembd wants to merge 1 commit intod3:mainfrom
jjhembd:patch-1

Conversation

@jjhembd
Copy link

@jjhembd jjhembd commented Mar 4, 2022

See #101.

It's a simple change. I'm not aware of any case where allowing a negative duration would be useful—let me know if I'm wrong.

Copy link
Member

@Fil Fil left a comment

Choose a reason for hiding this comment

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

Good catch. thank you!

@sroelants
Copy link

Any reason this hasn't been merged yet? We're running into this issue and are having to slap a Math.abs around the duration ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants