1
0
mirror of synced 2025-01-31 12:23:52 +01:00

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; return null;
} }
} }
} }

View File

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

View File

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