Skip to content

Commit f5cecac

Browse files
committed
Fix Typo
Allow shadplay to build on Windows devices
1 parent cadae86 commit f5cecac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ pub fn toggle_window_passthrough(
242242
keyboard_input: Res<ButtonInput<KeyCode>>,
243243
mut windows: Query<&mut Window>,
244244
) {
245-
if input.just_pressed(KeyCode::KeyX) {
245+
if keyboard_input.just_pressed(KeyCode::KeyX) {
246246
let mut window = match windows.single_mut() {
247247
Ok(w) => w,
248248
Err(e) => {

0 commit comments

Comments
 (0)