Disable cursor hding until i polish the slider more
This commit is contained in:
parent
7d09926899
commit
4a32ffb3fb
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user