1
0
mirror of synced 2024-09-24 11:38:22 +02:00

Disable cursor hding until i polish the slider more

This commit is contained in:
KillzXGaming 2019-06-02 16:17:28 -04:00
parent 7d09926899
commit 4a32ffb3fb
4 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@ -166,7 +166,7 @@ namespace BarSlider
{ {
TextEditorActive = true; TextEditorActive = true;
Cursor.Show(); // Cursor.Show();
prevPos = Cursor.Position; prevPos = Cursor.Position;
textBox.Location = new Point(30, ClientSize.Height / 2 - 5); textBox.Location = new Point(30, ClientSize.Height / 2 - 5);
@ -219,7 +219,7 @@ namespace BarSlider
if (prevPos.X != 0 && prevPos.Y != 0) if (prevPos.X != 0 && prevPos.Y != 0)
Cursor.Position = prevPos; Cursor.Position = prevPos;
Cursor.Show(); // Cursor.Show();
} }
@ -1575,7 +1575,7 @@ namespace BarSlider
prevPos = Cursor.Position; prevPos = Cursor.Position;
previousValue = Value; previousValue = Value;
Cursor.Hide(); // Cursor.Hide();
base.OnMouseDown(e); base.OnMouseDown(e);
if (e.Button == MouseButtons.Left) if (e.Button == MouseButtons.Left)
@ -1711,7 +1711,7 @@ namespace BarSlider
if (prevPos.X != 0 && prevPos.Y != 0) if (prevPos.X != 0 && prevPos.Y != 0)
Cursor.Position = prevPos; Cursor.Position = prevPos;
Cursor.Show(); // Cursor.Show();
base.OnKeyUp(e); base.OnKeyUp(e);
switch (e.KeyCode) switch (e.KeyCode)