Compare commits

..

1 Commits

Author SHA1 Message Date
2ae73c3c58 fix: disable app quit on browser build 2025-08-07 23:44:26 -05:00

View File

@@ -92,6 +92,8 @@ impl App<'_> {
}
_ => {}
},
// It doesn't really make sense to have this available in the browser
#[cfg(not(target_os = "emscripten"))]
Event::Quit { .. }
| Event::KeyDown {
keycode: Some(Keycode::Escape) | Some(Keycode::Q),