We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828e244 commit 185d243Copy full SHA for 185d243
src/Features/Hud/VelocityGraph.cpp
@@ -78,8 +78,9 @@ void VelocityGraph::Paint(int slot) {
78
int x, y;
79
engine->GetScreenSize(nullptr, x, y);
80
81
- const Vector2<int> graphPos = Vector2<int>(x / 2, y) +
+ Vector2<int> graphPos = Vector2<int>(x / 2, 0) +
82
Vector2<int>(sar_velocitygraph_x.GetInt(), sar_velocitygraph_y.GetInt());
83
+ if (graphPos.y < 0) graphPos.y += y;
84
85
bool should_draw_takeoff = (!last_on_ground[slot] || take_off_display_timeout[slot] > engine->GetClientTime()) && sar_velocitygraph_text_groundspeed.GetBool();
86
int recentSpeed = velocityStamps[slot][velocityStamps[slot].size - 10].speed;
0 commit comments