the mouse spin bug

This commit is contained in:
Quaternions 2025-01-14 23:33:50 -08:00
parent 6138d70a6f
commit 7476d7cdc7

View File

@ -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));