Fix formatting

This commit is contained in:
Simon Hausmann 2021-12-13 13:25:44 +01:00 committed by Simon Hausmann
parent 93c28d12db
commit 5b31fa97a1

View file

@ -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;