Dimchikkk / bevy_cosmic_edit

Apache License 2.0
86 stars 9 forks source link

fix backspace needing double input on wasm #114

Closed bytemunch closed 12 months ago

bytemunch commented 12 months ago

closes #111

not sure why is_deleting doesn't get set on wasm. Does wasm not support Local<> variables in systems?

I'm also sure I tested this fix first time round on wasm but I could easily be wrong

Dimchikkk commented 12 months ago

Does wasm not support Local<> variables in systems?

wasm supports Local

Dimchikkk commented 12 months ago

tested on text_input, deletes capital chars on wasm 👍

bytemunch commented 12 months ago

Does wasm not support Local<> variables in systems?

wasm supports Local

I must be missing something else somewhere in the code. Rust analyzer is really unhelpful when it comes to working on different target archs at the same time >.<