Prevent cursor from reseting to 0 for param editing

This commit is contained in:
KillzXGaming 2019-06-02 16:15:33 -04:00
parent f52b605dce
commit 7d09926899
6 changed files with 5 additions and 2 deletions

Binary file not shown.

View file

@ -54,5 +54,7 @@ namespace FirstPlugin
{
return null;
}
}
}

View file

@ -1709,7 +1709,8 @@ namespace BarSlider
if (TextEditorActive)
return;
Cursor.Position = prevPos;
if (prevPos.X != 0 && prevPos.Y != 0)
Cursor.Position = prevPos;
Cursor.Show();
base.OnKeyUp(e);

View file

@ -1186,6 +1186,6 @@ namespace Toolbox
{
ShaderTools.SaveErrorLogs();
}
}
}
}