fix spin bug edge case
This commit is contained in:
parent
f9d4ca8370
commit
f98ffe6e0b
@ -110,7 +110,7 @@ impl MouseInterpolator{
|
|||||||
// but the timer is not accessible from this scope
|
// but the timer is not accessible from this scope
|
||||||
// and it's just here to say that the mouse isn't moving anyways.
|
// 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
|
// 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}),
|
instruction:MouseInstruction::SetNextMouse(MouseState{pos:mouse_state.pos,time}),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user