Skip to content

Conversation

jeffreylzkong
Copy link

  1. Math.round() could identify the current drops date as duplicated incorrectly. In the demo data, many commits are very close and considered duplicated after Math.round();

  2. drop.enter() takes care the new drops, drop.exit() takes are the removing drops. But current rendered drops are not taken care of, so color and radius are not called.

@tobigit
Copy link

tobigit commented Oct 31, 2018

I have a custom radius function to set drop dimensions. But when I scroll or zoom the view, the size of each drop changes arbitrary. Does this commit / PR fix the radius-issue?
thank you 👍

@jeffreylzkong
Copy link
Author

@tobigit Yes, both custom radius and color function are fixed. My project also need custom functions which must work on every zoom/resize/drag. This fix works perfectly and I believe it can help others as well.

@Busteren
Copy link
Contributor

Just wanted to mention that 2. is fixed in this pr: #259.
For 1. how close does the date need to be, I assume it is with time? (Just curious)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants