Fixed minor screwup
This commit is contained in:
parent
2c04098405
commit
5412667b8f
@ -9,7 +9,7 @@ namespace CC_Clicker_2._0
|
|||||||
public partial class MainForm : Form
|
public partial class MainForm : Form
|
||||||
{
|
{
|
||||||
private static bool _isSettingKey;
|
private static bool _isSettingKey;
|
||||||
private const Keys Key = Keys.LShiftKey;
|
private static Keys Key = Keys.LShiftKey;
|
||||||
private static bool _isClicking;
|
private static bool _isClicking;
|
||||||
private static int _setDelay = 100;
|
private static int _setDelay = 100;
|
||||||
private static int _delmVal = 4;
|
private static int _delmVal = 4;
|
||||||
@ -25,9 +25,10 @@ namespace CC_Clicker_2._0
|
|||||||
{
|
{
|
||||||
if (_isSettingKey)
|
if (_isSettingKey)
|
||||||
{
|
{
|
||||||
|
Key = e.Key;
|
||||||
keyButton1.BackColor = Color.FromArgb(224, 224, 224);
|
keyButton1.BackColor = Color.FromArgb(224, 224, 224);
|
||||||
clickBox.Enabled = true;
|
clickBox.Enabled = true;
|
||||||
keyButton1.Text = e.Key.ToString();
|
keyButton1.Text = Key.ToString();
|
||||||
_isSettingKey = false;
|
_isSettingKey = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user