Decrease delay before and after paste

This commit is contained in:
Stone_Red
2024-05-08 13:16:39 +02:00
parent 3a712091d6
commit b29fbc4ea2
@@ -224,13 +224,13 @@ public class ClipCmdCommandHandler(Window window)
if (autoPaste) if (autoPaste)
{ {
await Task.Delay(50); await Task.Delay(10);
_ = simulator.SimulateKeyPress(KeyCode.VcLeftControl); _ = simulator.SimulateKeyPress(KeyCode.VcLeftControl);
_ = simulator.SimulateKeyPress(KeyCode.VcV); _ = simulator.SimulateKeyPress(KeyCode.VcV);
_ = simulator.SimulateKeyRelease(KeyCode.VcLeftControl); _ = simulator.SimulateKeyRelease(KeyCode.VcLeftControl);
_ = simulator.SimulateKeyRelease(KeyCode.VcV); _ = simulator.SimulateKeyRelease(KeyCode.VcV);
await Task.Delay(50); await Task.Delay(10);
} }
} }