input: fix key_is_down in RawKeyEvent on windows
This commit is contained in:
1 parent
91fc705e26
commit
bd952bcc2b
1 file changed
+1
-1
@@ -1780,7 +1780,7 @@ unsafe fn key(hwnd: HWND, msg: UINT, wparam: WPARAM, lparam: LPARAM) -> Option<L
|
||||
raw_code: wparam as _,
|
||||
modifiers,
|
||||
repeat_count: 1,
|
||||
key_is_down: true,
|
||||
key_is_down: !releasing,
|
||||
handled: handled_raw.clone(),
|
||||
};
|
||||
inner
|
||||
|
||||
Reference in new issue
Block a user