Fix typo causing Y axis in joystick tester not to be mirrored correctly if backwards. Should fix #9300

This commit is contained in:
Henrik Rydgård
2017-09-29 20:51:59 +02:00
parent 3d5e04767a
commit 1b6c5c4832
+1 -1
View File
@@ -438,7 +438,7 @@ public:
JoystickHistoryView(int xAxis, int xDevice, int xDir, int yAxis, int yDevice, int yDir, UI::LayoutParams *layoutParams = nullptr)
: UI::InertView(layoutParams),
xAxis_(xAxis), xDevice_(xDevice), xDir_(xDir),
yAxis_(yAxis), yDevice_(yDevice), yDir_(xDir),
yAxis_(yAxis), yDevice_(yDevice), yDir_(yDir),
curX_(0.0f), curY_(0.0f),
maxCount_(500) {}
void Draw(UIContext &dc) override;