Fixed writing to debug log on every tick rather than on every successful operation.
parent
83d5d65fa3
commit
e7534ee0a5
|
@ -73,9 +73,10 @@ namespace KeyWatch__
|
||||||
}
|
}
|
||||||
if (_manageScroll) {
|
if (_manageScroll) {
|
||||||
if ((_scrolllockSelection == "Enabled" && !ScrollLock) ||
|
if ((_scrolllockSelection == "Enabled" && !ScrollLock) ||
|
||||||
(_scrolllockSelection == "Disabled" && ScrollLock))
|
(_scrolllockSelection == "Disabled" && ScrollLock)) {
|
||||||
_sim.Keyboard.KeyPress(WindowsInput.Native.VirtualKeyCode.SCROLL);
|
_sim.Keyboard.KeyPress(WindowsInput.Native.VirtualKeyCode.SCROLL);
|
||||||
Trace.WriteLine(String.Format("{0} - disable Scrolllock", DateTime.Now));
|
Trace.WriteLine(String.Format("{0} - disable Scrolllock", DateTime.Now));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
_doingWork = false;
|
_doingWork = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue