Skip to content

Commit

Permalink
Merge pull request #8674 from jordan-woyak/gyro-indicator-lil-fix
Browse files Browse the repository at this point in the history
DolphinQt: Fix gyro mapping indicator's "jitter" drawing.
  • Loading branch information
JMC47 authored Mar 18, 2020
2 parents 0461170 + 099e6bf commit 56103ff
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 56103ff

Please sign in to comment.