Virtualpads - fix single axis controls being tied to each other, fixes #2351

This commit is contained in:
adelikat 2020-08-30 11:21:45 -05:00
parent d5c24b3671
commit e46de9e5c3
1 changed files with 3 additions and 2 deletions

View File

@ -32,11 +32,12 @@ namespace BizHawk.Client.EmuHawk
Orientation orientation)
{
_stickyXorAdapter = stickyXorAdapter;
Name = name;
InitializeComponent();
// AnalogTrackBar, DisplayNameLabel, and ValueLabel are now assigned
// Name, AnalogTrackBar, DisplayNameLabel, and ValueLabel are now assigned
Name = name;
var trackbarWidth = Size.Width - 15;
int trackbarHeight;
if ((AnalogTrackBar.Orientation = orientation) == Orientation.Vertical)