1
DotNet / Re: Window not updateing unless clicked upon.
« on: April 02, 2013, 03:08:45 pm »clock.ElapsedMilliseconds returns integer, so if the elapsed time is below 1ms, you will apply zero and your objects won't move. Use (float)clock.Elapsed.TotalMilliseconds instead.Already does, but not in this sample, thanks anyway.