every symptom has its own row

This commit is contained in:
tina
2018-09-07 19:32:45 +02:00
parent 4d5658119a
commit 1e81cd8298
7 changed files with 125 additions and 59 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export default class DotAndLine extends Component {
function makeLine(leftY, rightY, direction, excludeLine) {
const colWidth = config.columnWidth
const heightDiff = -leftY - -rightY
const heightDiff = -(leftY - rightY)
const angle = Math.atan2(heightDiff, colWidth / 2)
const lineStyle = excludeLine ? styles.curveExcluded : styles.curve
// hypotenuse, we add 3px for good measure, because otherwise the lines