Skip to content
Snippets Groups Projects
Commit d6cc8a7c authored by Julia Friesel's avatar Julia Friesel
Browse files

Add back ltl line

parent 1ccc3636
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,6 @@ export default class DayColumn extends Component {
columnElements.push(cycleDayLabel, dateLabel, horizontalGrid)
if(nfpLineInfo.drawFhmLine) {
console.log('jappens')
const fhmLine = (<View
position = 'absolute'
top={100}
......@@ -71,14 +70,16 @@ export default class DayColumn extends Component {
columnElements.push(fhmLine)
}
// {nfpLineInfo.drawLtlAt ?
// <Line
// x1="0"
// y1={nfpLineInfo.drawLtlAt}
// x2={config.columnWidth}
// y2={nfpLineInfo.drawLtlAt}
// {...styles.nfpLine}
// /> : null}
if(nfpLineInfo.drawLtlAt) {
console.log('yep')
const ltlLine = (<View
position = 'absolute'
width={'100%'}
top={nfpLineInfo.drawLtlAt}
{...styles.nfpLine}
/>)
columnElements.push(ltlLine)
}
if (y) {
columnElements.push(...this.drawDotAndLine(y, temperatureExclude, index))
......
......@@ -82,8 +82,9 @@ const styles = {
borderStyle: 'solid'
},
nfpLine: {
backgroundColor: '#00b159',
strokeWidth: 3
borderColor: '#00b159',
borderWidth: 2,
borderStyle: 'solid'
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment