iced icon indicating copy to clipboard operation
iced copied to clipboard

Support wasm target for `clock` example

Open skygrango opened this issue 2 months ago • 0 comments

base on #2421

Fix the env loading problem by enabling wasm-bindgen feature with instant

problem : it failed on firefox log : https://gist.github.com/skygrango/6561e1a77a147c664f62ab2fef248a74

<wgpu::backend::wgpu_core::ContextWgpuCore as wgpu::context::Context>::device_create_render_pipeline::he39460428393c56b http://127.0.0.1:8080/clock-c25483e98ad88e58_bg.wasm:4833636
<T as wgpu::context::DynContext>::device_create_render_pipeline::h77fdafe577d5f84d http://127.0.0.1:8080/clock-c25483e98ad88e58_bg.wasm:17303843`

I don't know how to fix it, maybe something wrong with widget/canvas

it almost work on chrome, except for drawing text 螢幕截圖_20240503_142518-1

skygrango avatar May 03 '24 05:05 skygrango