mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 11:07:56 -05:00
settings: Fix controller preview not displaying the correct controller
This commit is contained in:
@ -2394,7 +2394,7 @@ void PlayerControlPreview::DrawGCJoystick(QPainter& p, const QPointF center,
|
||||
|
||||
void PlayerControlPreview::DrawRawJoystick(QPainter& p, QPointF center_left, QPointF center_right) {
|
||||
using namespace Settings::NativeAnalog;
|
||||
if (controller_type != Core::HID::NpadStyleIndex::JoyconLeft) {
|
||||
if (center_right != QPointF(0, 0)) {
|
||||
DrawJoystickProperties(p, center_right, stick_values[RStick].x.properties);
|
||||
p.setPen(colors.indicator);
|
||||
p.setBrush(colors.indicator);
|
||||
@ -2404,7 +2404,7 @@ void PlayerControlPreview::DrawRawJoystick(QPainter& p, QPointF center_left, QPo
|
||||
DrawJoystickDot(p, center_right, stick_values[RStick], false);
|
||||
}
|
||||
|
||||
if (controller_type != Core::HID::NpadStyleIndex::JoyconRight) {
|
||||
if (center_left != QPointF(0, 0)) {
|
||||
DrawJoystickProperties(p, center_left, stick_values[LStick].x.properties);
|
||||
p.setPen(colors.indicator);
|
||||
p.setBrush(colors.indicator);
|
||||
|
Reference in New Issue
Block a user