Rename default low and high

This commit is contained in:
Julia Friesel
2018-08-21 21:23:29 +02:00
parent 76c47a96c5
commit 896f407f46
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ class TempSlider extends Component {
constructor(props) { constructor(props) {
super(props) super(props)
this.state = { this.state = {
min: config.temperatureScale.low, min: config.temperatureScale.defaultLow,
max: config.temperatureScale.high max: config.temperatureScale.defaultHigh
} }
this.getStoredScale() this.getStoredScale()
} }
+2 -2
View File
@@ -2,8 +2,8 @@ const config = {
chartHeight: 350, chartHeight: 350,
columnWidth: 25, columnWidth: 25,
temperatureScale: { temperatureScale: {
low: 35, defaultLow: 35,
high: 38, defaultHigh: 38,
min: 34, min: 34,
max: 40, max: 40,
units: 0.1 units: 0.1