I'm doing a small library for doing charts with react native and I realized that cornerRadius parameter was being ignored in the most recent d3 version (installed via yarn, v4.3.0).
Here is a failing example (ecmascript 2015):
I did some debugging using console.log with the example above and realized that cornerRadius was always set to 0 and whatever was passed in parameters was ignored.
I did the fix that I'm sending in this PR, and it works well for me locally. Is there anything that I might be missing?
Hi guys,
I'm doing a small library for doing charts with react native and I realized that
cornerRadius
parameter was being ignored in the most recentd3
version (installed viayarn
, v4.3.0). Here is a failing example (ecmascript 2015):I did some debugging using
console.log
with the example above and realized thatcornerRadius
was always set to 0 and whatever was passed inparameters
was ignored.I did the fix that I'm sending in this PR, and it works well for me locally. Is there anything that I might be missing?
I noticed that there is one
cornerRadius
test (https://github.com/d3/d3-shape/blob/master/test/arc-test.js#L20), can you provide me with some guidelines to run the tests?