Skip to content

Commit

Permalink
DolphinQt: Fix gyro mapping indicator's "jitter" drawing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-woyak committed Mar 18, 2020
1 parent 0461170 commit 099e6bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt/Config/Mapping/MappingIndicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ void GyroMappingIndicator::Draw()
const auto jitter_line_y =
std::min(max_jitter / deadzone_value * DEADZONE_DRAW_SIZE - DEADZONE_DRAW_BOTTOM, 1.0);
p.setPen(GetCosmeticPen(QPen(GetRawInputColor(), INPUT_DOT_RADIUS)));
p.drawLine(-1.0, jitter_line_y * -1.0, 1.0, jitter_line_y * -1.0);
p.drawLine(QLineF(-1.0, jitter_line_y * -1.0, 1.0, jitter_line_y * -1.0));

// Sphere background.
p.setPen(Qt::NoPen);
Expand Down

0 comments on commit 099e6bf

Please sign in to comment.