mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-19 16:59:13 +00:00
Merge pull request #8674 from jordan-woyak/gyro-indicator-lil-fix
DolphinQt: Fix gyro mapping indicator's "jitter" drawing.
This commit is contained in:
commit
56103ffd60
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue