VirtualPads - implement sticky toggle checkbox
This commit is contained in:
parent
562eeb18bd
commit
2947cd92d0
|
@ -124,7 +124,6 @@
|
|||
//
|
||||
this.StickyBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.StickyBox.AutoSize = true;
|
||||
this.StickyBox.Enabled = false;
|
||||
this.StickyBox.Location = new System.Drawing.Point(9, 283);
|
||||
this.StickyBox.Name = "StickyBox";
|
||||
this.StickyBox.Size = new System.Drawing.Size(55, 17);
|
||||
|
|
|
@ -301,6 +301,16 @@ namespace BizHawk.MultiClient
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!Global.Config.VirtualPadSticky)
|
||||
{
|
||||
foreach (IVirtualPad v in Pads)
|
||||
{
|
||||
v.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void StickyBox_CheckedChanged(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in New Issue