GKGOXYENXXG6XJXPLXVSWKOYWHZRKNT5JDTAAQ2XWWYGJTLFH5IAC
SSJKQR6X6L2KUJI2YPLMBQU3PTR2RYAQQR6N35MDMOCOTV6ZDUEAC
ERVDDYMSDOMRHCJYLXDFGE34YV26TKAWL6NFA2ELPUW6ECN5AOBQC
GROTV3H2V6BHU5CA7WSLVYDCWAR7GHUP5JV2QOGPLJ6N3553T4MAC
DKGUNP6LG3DJ35VMHU42K3VJO5JJ5UVYI4PLM72HO5ZNAQ4P366AC
GHIHJCWBCGFZI4AG66L7WG4WKJ467DXFBRBNLT4ZULSN7ZVBJI6AC
L6RIUKGLJZLAOKFGUDTZKBPP4HUBPEZAKHJEQHO34WFF62AB2ZIQC
OGNLZ5CUNFD7X43S4VTMCCEMJA2R76O35XACIR7AUBHPGME27E3AC
O5P6HCPWGMGJBFJEMC3SYQJ5OEW2AQV4KEJCMRVTTS3K6M45Z3BAC
X5EMQBC4BFNJOOHS2QMF4UB4QH6JKSALK6RXLK6B7SP6MNYSAP6QC
let attrs = Attrs::new().family(glyphon::Family::Name("Noto Color Emoji"));
let mut attrs = Attrs::new().family(glyphon::Family::SansSerif);
if let Some(color) = text.color {
let color: palette::Srgba<u8> = color.0.into_format();
attrs = attrs.color(glyphon::Color::rgba(
color.red,
color.green,
color.blue,
color.alpha,
));
}
winit_executor.spawn({
let game = game.clone();
async move { game.lock().unwrap().create_surface().await }
});
let game = game.clone();
let (id, res) =
winit_executor.spawn(async move { game.lock().unwrap().create_surface().await });
if let Some(res) = res {
res.unwrap()
} else {
el_proxy.send_event(PollTask(id)).unwrap();
}