Virtualpads - fix single axis controls being tied to each other, fixes #2351
This commit is contained in:
parent
d5c24b3671
commit
e46de9e5c3
|
@ -32,11 +32,12 @@ namespace BizHawk.Client.EmuHawk
|
||||||
Orientation orientation)
|
Orientation orientation)
|
||||||
{
|
{
|
||||||
_stickyXorAdapter = stickyXorAdapter;
|
_stickyXorAdapter = stickyXorAdapter;
|
||||||
Name = name;
|
|
||||||
|
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
// AnalogTrackBar, DisplayNameLabel, and ValueLabel are now assigned
|
|
||||||
|
|
||||||
|
// Name, AnalogTrackBar, DisplayNameLabel, and ValueLabel are now assigned
|
||||||
|
Name = name;
|
||||||
var trackbarWidth = Size.Width - 15;
|
var trackbarWidth = Size.Width - 15;
|
||||||
int trackbarHeight;
|
int trackbarHeight;
|
||||||
if ((AnalogTrackBar.Orientation = orientation) == Orientation.Vertical)
|
if ((AnalogTrackBar.Orientation = orientation) == Orientation.Vertical)
|
||||||
|
|
Loading…
Reference in New Issue