Skip to content

Commit

Permalink
fix: rename to quadraticTo for consistancy (#1397)
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros authored Nov 13, 2024
1 parent a6e7a0e commit f6af9b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private fun DeviceMetricsChart(

lastX = (x1 + x2) / 2f

quadraticBezierTo(x1, y1, lastX, (y1 + y2) / 2f)
quadraticTo(x1, y1, lastX, (y1 + y2) / 2f)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ private fun EnvironmentMetricsChart(
moveTo(x1, y1)
}
lastTempX = (x1 + x2) / 2f
quadraticBezierTo(
quadraticTo(
x1, y1, lastTempX, (y1 + y2) / 2f
)
}
Expand Down Expand Up @@ -288,7 +288,7 @@ private fun EnvironmentMetricsChart(
moveTo(x1, y1)
}
lastHumidityX = (x1 + x2) / 2f
quadraticBezierTo(
quadraticTo(
x1, y1, lastHumidityX, (y1 + y2) / 2f
)
}
Expand Down Expand Up @@ -341,7 +341,7 @@ private fun EnvironmentMetricsChart(
moveTo(x1, y1)
}
lastIaqX = (x1 + x2) / 2f
quadraticBezierTo(
quadraticTo(
x1,
y1,
lastIaqX,
Expand Down

0 comments on commit f6af9b8

Please sign in to comment.