Fix typos

This commit is contained in:
Chocobo1 2023-06-25 15:45:18 +08:00
parent 88bd4f270f
commit 6680fdda18
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
71 changed files with 164 additions and 164 deletions

View file

@ -45,7 +45,7 @@ namespace
// table of supposed nice steps for grid marks to get nice looking quarters of scale
const double roundingTable[] = {1.2, 1.6, 2, 2.4, 2.8, 3.2, 4, 6, 8};
struct SplittedValue
struct SplitValue
{
double arg;
Utils::Misc::SizeUnit unit;
@ -55,7 +55,7 @@ namespace
}
};
SplittedValue getRoundedYScale(double value)
SplitValue getRoundedYScale(double value)
{
using Utils::Misc::SizeUnit;
@ -289,7 +289,7 @@ void SpeedPlotView::paintEvent(QPaintEvent *)
QFontMetrics fontMetrics = painter.fontMetrics();
rect.adjust(4, 4, 0, -4); // Add padding
const SplittedValue niceScale = getRoundedYScale(maxYValue());
const SplitValue niceScale = getRoundedYScale(maxYValue());
rect.adjust(0, fontMetrics.height(), 0, 0); // Add top padding for top speed text
// draw Y axis speed labels