Closed ComputerMaster1st closed 1 year ago
Added an else for the if(spaceDragBefore) statement to prevent "drift" as it looked like it was drifting with FPS it seems.
else
if(spaceDragBefore)
Also changed the name of _lastPosition variable to _startPosition to make more sense.
_lastPosition
_startPosition
Tested locally and works as expected. No "drift" issues. Recommend other people test before merging incase something is amiss.
Note: Please don't ask me why dotnet format did the whole project. I can only guess it's normal. Never used format before. I usually let VSCode and Visual Studio do it automagically.
dotnet format
Added an
else
for theif(spaceDragBefore)
statement to prevent "drift" as it looked like it was drifting with FPS it seems.Also changed the name of
_lastPosition
variable to_startPosition
to make more sense.Tested locally and works as expected. No "drift" issues. Recommend other people test before merging incase something is amiss.