the mouse spin bug
This commit is contained in:
parent
6138d70a6f
commit
7476d7cdc7
@ -149,7 +149,7 @@ impl MouseInterpolator{
|
||||
if let Instruction::MoveMouse(pos)=ins.instruction.instruction{
|
||||
let next_mouse_state=MouseState{pos,time:ins.instruction.time};
|
||||
let ins_mouse=TimedInstruction{
|
||||
time:ins.instruction.time,
|
||||
time:mouse_state.time,
|
||||
instruction:MouseInstruction::SetNextMouse(next_mouse_state.clone()),
|
||||
};
|
||||
return ((Some(ins_mouse),None),BufferState::Buffered(ins.time,next_mouse_state));
|
||||
|
Loading…
x
Reference in New Issue
Block a user