mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
hid plugins fix
This commit is contained in:
@@ -79,9 +79,6 @@ export function Mouse(record_callback) {
|
||||
|
||||
self.setState = function(state) {
|
||||
__online = state.online;
|
||||
if (!("absolute" in state)) { // FIXME: SPI
|
||||
state.absolute = true;
|
||||
}
|
||||
if (!__absolute && state.absolute && __isRelativeCaptured()) {
|
||||
document.exitPointerLock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user