mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Fix formatting
This commit is contained in:
parent
93c28d12db
commit
5b31fa97a1
1 changed files with 3 additions and 2 deletions
|
@ -1227,7 +1227,8 @@ impl sixtyfps_corelib::backend::Backend for Backend {
|
|||
let e = crate::event_loop::CustomEvent::UserEvent(event);
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
crate::event_loop::GLOBAL_PROXY.get_or_init(Default::default).lock().unwrap().send_event(e);
|
||||
#[cfg(target_arch = "wasm32")] {
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
{
|
||||
use wasm_bindgen::closure::Closure;
|
||||
use wasm_bindgen::JsCast;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue