diff --git a/src/input.rs b/src/input.rs index da5d75e375df6163cacc510918738b35a75e4b6e..31a1d41a66fdf8ae6ae661b902e9d0ada53d1da2 100644 --- a/src/input.rs +++ b/src/input.rs @@ -366,9 +366,8 @@ pub(crate) fn input_kb( editor.0.set_select_opt(None); } } - #[cfg(target_arch = "wasm32")] - editor.0.action(&mut font_system.0, Action::Backspace); *is_deleting = true; + editor.0.action(&mut font_system.0, Action::Backspace); } if keys.just_released(KeyCode::Back) {