fix spin bug edge case
This commit is contained in:
@ -110,7 +110,7 @@ impl MouseInterpolator{
|
||||
// but the timer is not accessible from this scope
|
||||
// and it's just here to say that the mouse isn't moving anyways.
|
||||
// I think this is a divide by zero bug, two identical mouse_states will occupy the interpolation state
|
||||
time,
|
||||
time:mouse_state.time,
|
||||
instruction:MouseInstruction::SetNextMouse(MouseState{pos:mouse_state.pos,time}),
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user