separate state for hid offline

This commit is contained in:
Devaev Maxim
2020-12-03 10:04:06 +03:00
parent be6b81af9c
commit b9cf8f974d
3 changed files with 29 additions and 15 deletions

View File

@@ -153,8 +153,8 @@ export function Hid() {
wm.switchEnabled($("hid-mouse-squash-checkbox"), (has_relative_squash && !state.busy));
if (state) {
__keyboard.setState(state.keyboard);
__mouse.setState(state.mouse);
__keyboard.setState(state.keyboard, state.online, state.busy);
__mouse.setState(state.mouse, state.online, state.busy);
}
};