@windborne/grapher 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle.js +1 -1
- package/bundle.js.map +1 -1
- package/package.json +1 -1
- package/src/grapher.scss +2 -1
- package/src/renderer/paths_from.js +1 -1
package/package.json
CHANGED
package/src/grapher.scss
CHANGED
|
@@ -49,7 +49,7 @@ export default function pathsFrom(dataInRenderSpace, {splitAtY}={}) {
|
|
|
49
49
|
|
|
50
50
|
if (typeof splitAtY === 'number' && i > 0) {
|
|
51
51
|
const prevY = yValues[i-1];
|
|
52
|
-
const signFlipped = !(nullMask[i-1] & 0b001) && (prevY < splitAtY && y >= splitAtY) || (prevY > splitAtY && y <= splitAtY);
|
|
52
|
+
const signFlipped = !(nullMask[i-1] & 0b001) && (prevY < splitAtY && y >= splitAtY) || (prevY > splitAtY && y <= splitAtY) || (prevY === splitAtY && y !== splitAtY);
|
|
53
53
|
|
|
54
54
|
if (signFlipped) {
|
|
55
55
|
if (!previouslyDiscontinuous) {
|