input: fix key_is_down in RawKeyEvent on windows

This commit is contained in:
Wez Furlong committed 2022-01-06 20:11:55 -07:00
1 parent 91fc705e26
commit bd952bcc2b
1 file changed
+1 -1
+1 -1
View File
@@ -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