Fix the red dot not showing up in input config when pointing right.
This commit is contained in:
parent
71d8165a86
commit
a371635990
|
@ -163,7 +163,7 @@ static void DrawControlGroupBox(wxDC &dc, ControlGroupBox *g)
|
||||||
}
|
}
|
||||||
|
|
||||||
// adjusted dot
|
// adjusted dot
|
||||||
if (x != 0 && y != 0)
|
if (x != 0 || y != 0)
|
||||||
{
|
{
|
||||||
dc.SetPen(*wxRED_PEN);
|
dc.SetPen(*wxRED_PEN);
|
||||||
dc.SetBrush(*wxRED_BRUSH);
|
dc.SetBrush(*wxRED_BRUSH);
|
||||||
|
|
Loading…
Reference in New Issue